Rest returns 404 error
This might be because I'm doing something wrong, but when I try to use the rest api option I get a 404 error (this happens with every route). However if I use fetch I get back the actual result. I'm setting a token (I assume setToken sets the token on the Authorization header, other wise I would get an 401 error instead).
1 Reply
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!