I have an error in glitch log

i was running a project it was working good
one day it stopped working and this problem went up

(node:20722) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.

3:49 PM

at WebSocketConnection.client.ws.connection.once.event (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientManager.js:48:41)

3:49 PM

at Object.onceWrapper (events.js:286:20)

3:49 PM

at WebSocketConnection.emit (events.js:198:13)

3:49 PM

at WebSocketConnection.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:393:10)

3:49 PM

at WebSocket.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/event-target.js:124:16)

3:49 PM

at WebSocket.emit (events.js:198:13)

3:49 PM

at WebSocket.emitClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:191:10)

3:49 PM

at TLSSocket.socketOnClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:850:15)

3:49 PM

at TLSSocket.emit (events.js:203:15)

3:49 PM

at _handle.close (net.js:607:12)

3:49 PM

(node:20722) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

3:49 PM

(node:20722) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

3:49 PM

(node:20722) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.

3:49 PM

at WebSocketConnection.client.ws.connection.once.event (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientManager.js:48:41)

3:49 PM

at Object.onceWrapper (events.js:286:20)

3:49 PM

at WebSocketConnection.emit (events.js:198:13)

3:49 PM

at WebSocketConnection.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:393:10)

3:49 PM

at WebSocket.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/event-target.js:124:16)

3:49 PM

at WebSocket.emit (events.js:198:13)

3:49 PM

at WebSocket.emitClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:191:10)

3:49 PM

at TLSSocket.socketOnClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:850:15)

3:49 PM

at TLSSocket.emit (events.js:203:15)

3:49 PM

at _handle.close (net.js:607:12)

3:49 PM

(node:20722) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)

3:49 PM

(node:20722) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.

3:49 PM

at WebSocketConnection.client.ws.connection.once.event (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientManager.js:48:41)

3:49 PM

at Object.onceWrapper (events.js:286:20)

3:49 PM

at WebSocketConnection.emit (events.js:198:13)

3:49 PM

at WebSocketConnection.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:393:10)

3:49 PM

at WebSocket.onClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/event-target.js:124:16)

3:49 PM

at WebSocket.emit (events.js:198:13)

3:49 PM

at WebSocket.emitClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:191:10)

3:49 PM

at TLSSocket.socketOnClose (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/websocket.js:850:15)

3:49 PM

at TLSSocket.emit (events.js:203:15)

3:49 PM

at _handle.close (net.js:607:12)

3:49 PM

(node:20722) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)

3:49 PM

/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientDataManager.js:81

3:49 PM

guild.channels.set(channel.id, channel);

3:49 PM

^

3:49 PM

3:49 PM

TypeError: Cannot read property ‘id’ of undefined

3:49 PM

at ClientDataManager.newChannel (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientDataManager.js:81:36)

3:49 PM

at Guild.setup (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/structures/Guild.js:307:68)

3:49 PM

at new Guild (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/structures/Guild.js:74:12)

3:49 PM

at ClientDataManager.newGuild (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/ClientDataManager.js:26:19)

3:49 PM

at ReadyHandler.handle (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/packets/handlers/Ready.js:20:91)

3:49 PM

at WebSocketPacketManager.handle (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:108:65)

3:49 PM

at WebSocketConnection.onPacket (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:336:35)

3:49 PM

at WebSocketConnection.onMessage (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:299:17)

3:49 PM

at WebSocket.onMessage (/rbd/pnpm-volume/26c4436d-0194-42db-abc2-4784986795c3/node_modules/discord.js/node_modules/ws/lib/event-target.js:120:16)

3:49 PM

at WebSocket.emit (events.js:198:13)

Hi, do you have any tokens or passwords that were changed/expired?. If so I would regenerate them.

EDIT- take a look at this discord.js - Error pops up on startup: 'Incorrect login details were provided' - Stack Overflow

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.