Discord bot error: "Incorrect login details were provided."

My bot has been configured correctly but is giving this error below. I already checked to see if it was a token or something, but it’s nothing like that. Any help I would appreciate!

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

9:53 PM

at WebSocketConnection.client.ws.connection.once.event (/rbd/pnpm-volume/01b5ea90-2e95-42cf-8c6c-5ea45727445c/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:48:41)

9:53 PM

at Object.onceWrapper (events.js:315:30)

9:53 PM

at emitOne (events.js:116:13)

9:53 PM

at WebSocketConnection.emit (events.js:211:7)

9:53 PM

at WebSocketConnection.onClose (/rbd/pnpm-volume/01b5ea90-2e95-42cf-8c6c-5ea45727445c/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:390:10)

9:53 PM

at WebSocket.onClose (/rbd/pnpm-volume/01b5ea90-2e95-42cf-8c6c-5ea45727445c/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/event-target.js:124:16)

9:53 PM

at emitTwo (events.js:126:13)

9:53 PM

at WebSocket.emit (events.js:214:7)

9:53 PM

at WebSocket.emitClose (/rbd/pnpm-volume/01b5ea90-2e95-42cf-8c6c-5ea45727445c/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/websocket.js:191:10)

9:53 PM

at TLSSocket.socketOnClose (/rbd/pnpm-volume/01b5ea90-2e95-42cf-8c6c-5ea45727445c/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/websocket.js:850:15)

9:53 PM

(node:20917) 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)

9:53 PM

(node:20917) [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.**

I am 100% sure this is due to Incorrect token provided at <client>.login(TOKEN).
Please again make sure that your token as accurate.

Or Got To https://discordapp.com/developers/applications , then select your application, next go to Bot tab, and directly copy the Token.

1 Like

yalan olmuyo yaaa bot calismiyo surakli eror code ELIFECYCLE hatası nı veriyor