Up until yesterday, this problem didn’t exist but today when I was connected to a VPN, I couldn’t post either a text or image post. I got this error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
After I disconnected from my VPN, the error went away. What gives?
With zero context, that error doesn’t look intentional, let alone targeted at VPN users. I believe it is the result of a malformed JSON payload.
It’s the result of the webservice returning an html error page instead of a json response.
It would be preferable to return an error response in a json string, if that’s feasible.
Of course it would but I’m just saying what I’m seeing
That makes sense.
Lemmy-UI’s error reporting leaves… much to be desired. It’s better than it used to be, but not as good as it could be.