From the original "Sales Analytics report “hangs” now comes the sequel: Purchase Receipt report hangs!
The original issue was resolved by nick9822. 7662
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object. (desk.min.js:141)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Can you please provide the exact report name?
It was Purchase Receipt Report. This issue was for a while, server again able to load the report.
But its seems this issue pops up sometimes, server gets stuck at anywhere and console shows
Uncaught SyntaxError: Unexpected token < in JSON at position 0 after server restart issue get resolved itself.
Any steps that we should take, I have seen the same issue at erpnext.com subscriptions too.
@Nick is right, just restarting helped resolve it. It might seem it is memory related, but CPU usage in that particular server does not exceed 17% at any point in the previous 24 hours when the issue ocurred. Now it is just working fine.