#401 errors when admin is making requests to the backend

4 messages · Page 1 of 1 (latest)

elder seal
#

Hello I recently deployed my medusjs backend with the admin inbuilt admin plugin on digital ocean. I can access the store/products and /health route. How ever when I access the admin panel /app I get a bunch of 401 errors.

vagrant hill
#

Are you able to log in? If so, the 401s should go away when you are logged in. Please show the console log on the backend for a request to /admin/auth. Response code 204 is what you want.

#

If you're unable to log in, we can troubleshoot from there

elder seal
#

Hello sorry for the late reply I managed to fix it. I waited for the app to log me in and I was getting 204 responses