NEED HELP WITH TOKEN

Hello everyone, I'm completely stuck on a persistent TokenInvalid error when deploying my bot on Render and I would really appreciate some help. I know this is a common error, but I have already tried every possible solution I could find, including: - Resetting the token multiple times. - Creating a completely new bot application from scratch and using its new credentials (Token and Client ID). - Enabling all three Privileged Gateway Intents (Presence, Server Members, and Message Content) on the new bot. - Double-checking that I am copying the Token from the "Bot" tab, not the Client Secret from the "OAuth2" tab. - Pasting the token into a plain text editor first to remove any invisible characters/formatting. - Ensuring there are no extra spaces or quotes in the environment variable value on Render. - Using a console.log(process.env) to confirm the TOKEN variable is being read correctly by the script, which it is. - Deploying on Render with a cleared build cache every time. Even after all of this, including with a brand new bot, the error still occurs. At this point, I suspect I must be making a very subtle mistake during the copy-paste process that I can't see myself. Would anyone be available to help me live, maybe by watching my screen on a quick call while I go through the process one more time? Thanks in advance for any help!
5 Replies
d.js toolkit
d.js toolkit2mo ago
duck
duck2mo ago
1. please don't crosspost 2. not sure why you picked this channel to crosspost to since this doesn't seem like a voice issue
Brian2005
Brian2005OP2mo ago
He doesn't leave me for the other.
duck
duck2mo ago
not really sure what you mean others have already responded to you in #djs-help-v14 if that's what you're referring to
d.js toolkit
d.js toolkit2mo ago
The thread owner has marked this issue as solved.

Did you find this page helpful?