401 Error - Discord API



I keep getting a 401 (not authorized) error. What am i doing wrong?

Normally any errors above 400 are server side errors, the famous one is 404.

Can you share more details or log

Actually between 400 and 499 you have client error respomses, server errors are from 500 and up.

In this case the 401 error is probably because you need to authenticate the api connector in run mode before you can test the request. You can read the details in the posted screenshot.

1 Like

How would I go about doing that?

Thanks. After doing that, i got a success message in my browser but still got a 401 error when initializing this call

have you tried user["id"]?

nevermind, it’s the same.

1 Like