I dont start my discord bot

ERROR

(node:3395) UnhandledPromiseRejectionWarning: Error: 401 Unauthorized

at IncomingMessage. (/rbd/pnpm-volume/f1b09d84-321a-4c80-9c75-4d8c02a693a0/node_modules/.registry.npmjs.org/dblapi.js/2.4.1/node_modules/dblapi.js/src/index.js:118:25)

at IncomingMessage.emit (events.js:201:15)

at endReadableNT (_stream_readable.js:1130:12)

at processTicksAndRejections (internal/process/task_queues.js:83:17)

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

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

It looks like you gave the wrong credentials to a package, likely the dblapi package.

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