02-02-2024, 07:08 PM
So, I've seen this error pop up in the webUI from time to time. I don't want to spend time trying to determine a sequence of operations which will cause it to occur consistently.
I believe this is an error thrown by the frontend JavaScript when it tries to parse an empty json payload received from the backend. Doubt you'll see much in the backend error logs. Maybe turn on the browser console to examine the state of affairs when the error occurs.
Regards,
Kent
PS - I seem to recall the error was more likely to occur if I had frontend code cached in the browser and then made changes to the backend code but my memory isn't as sharp as it used to be (cue the Prevagen commercial). Still, it's always a good idea to clear the browser cache or at least open the webUI in a new tab when playing with the code.
I believe this is an error thrown by the frontend JavaScript when it tries to parse an empty json payload received from the backend. Doubt you'll see much in the backend error logs. Maybe turn on the browser console to examine the state of affairs when the error occurs.
Regards,
Kent
PS - I seem to recall the error was more likely to occur if I had frontend code cached in the browser and then made changes to the backend code but my memory isn't as sharp as it used to be (cue the Prevagen commercial). Still, it's always a good idea to clear the browser cache or at least open the webUI in a new tab when playing with the code.