CSRFTokenError('Invalid Request',): Invalid Request

Dear all,

Sometimes when a user logs in to system and try to navigate, system shows just “Invalid Request”. Any solution to this??

Generally it comes when session expired. Please check whether some other person logged in from other PC using same login credentials.

i have seen this lately,not sure if log in with same credentials with multiple tabs in chrome counts as multiple logins?

any solution?


This happens when you try to login on same website with different user on same browser. Try avoiding the above scenario.

in my case, the issue was in executing frappe.call() before the document get loaded so I wrapped my js code in frappe.ready(function () { YOUR CODE })