401 Unauthorized response from vercel #5519
-
Page to Investigatehttps://discord-express-bot.vercel.app/api/interactions Steps to ReproducePOST to https://discord-express-bot.vercel.app/api/interactions with 0 params Let's take a look at the settings of the vercel project: Bug confirmed. Please fix. P.s. Problem arrives after 14.01.2024
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I don't think this error is coming from Vercel directly. It may be an issue with an attempted connection to Discord or another service. Some of the first things I would check are the environment variables related to that connection. I'd also recommend looking at the Runtime Logs to get more detailed info about what went wrong. |
Beta Was this translation helpful? Give feedback.
-
I'm also facing a similar problem. I have my vercel set up with python and a post request, but if I try to post any data, it returns a 401 unauthorized. This is not even appearing in the logs of vercel... Let me know if more information is needed. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to determine where the error is coming from, but I don't have enough information. Can you share a screenshot of the error? A minimal reproducible example would also be helpful. It could be that Deployment Protection is enabled and blocking access. Another possibility is a missing or invalid environment variable which would result in a 401 error being passed through from a third-party service used in the app. |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
I'm trying to determine where the error is coming from, but I don't have enough information. Can you share a screenshot of the error? A minimal reproducible example would also be helpful.
It could be that Deployment Protection is enabled and blocking access. Another possibility is a missing or invalid environment variable which would result in a 401 error being passed through from a third-party service used in the app.