Forums

403 HTTP status error codes

Hi there,

I've got a Django app hosting the endpoints for my React Native mobile app. Yesterday, these endpoints were working correctly. But today, I'm getting 403 errors. Is there something wrong with the servers at the moment?

What do you see in your web app logs?

"Forbidden: /api/accounts/login/"

The issue is intermittent... Now the login functionality is working again as normal, but now the logout functionality is showing "Forbidden: /api/accounts/logout/".

I managed to fix the issue in the Django backend by disabling all authentication methods other than TokenAuthentication.

Glad to hear that!