You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A GET request to /api/user/token/ resulted in a 500 status, and threw the following errors:
ValueError: You have multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user.
AttributeError: 'User' object has no attribute 'backend'
I have an idea for a quick fix but the clean solution would be to remove the calls to /token completely - we do not need them for the frontend anymore.
Is there any more context provided in sentry? I can not reproduce this reliably in my dev environment.
This error was caught on sentry.io
A
GET
request to/api/user/token/
resulted in a500
status, and threw the following errors:The trace points to this line of code:
InvenTree/src/backend/InvenTree/users/api.py
Line 266 in 3ff5078
The text was updated successfully, but these errors were encountered: