Non-admin users unable to login — 500 Internal Server Error on /desk

Issue:

  • Administrator account can log in successfully.

  • All other registered users are unable to log in.

  • Accessing /desk results in a “500 Internal Server Error”.

We checked the Frappe Cloud logs, but only generic “New Exception collected in error log” entries are visible.

Any guidance on how to debug this further on Frappe Cloud would be helpful.

Thanks.

have you checked Error Log?

Nothing is there ,

Did you restore a backup from somewhere else? In that case you may need to set the previous encryption key .. to debug this issue, you may login as admin and reset password of some user and then try to login as that user with the new password

yes ,restored from dev server.I have added a encryption key from that server and added a new user after that process

Disable any custom apps and try, esp if any logic related to auth, boot, post login etc