this post was submitted on 08 Feb 2024
21 points (86.2% liked)

Lemmy.world Support

3227 readers
2 users here now

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket Static Badge


You can also DM https://lemmy.world/u/lwreport or email report@lemmy.world (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world/



founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] stevestevesteve@lemmy.world 18 points 9 months ago (2 children)

It's the result of the webservice returning an html error page instead of a json response.

[โ€“] solrize@lemmy.world 4 points 9 months ago (1 children)

It would be preferable to return an error response in a json string, if that's feasible.

[โ€“] stevestevesteve@lemmy.world 2 points 9 months ago

Of course it would but I'm just saying what I'm seeing

[โ€“] wesker@lemmy.sdf.org 2 points 9 months ago* (last edited 9 months ago) (1 children)
[โ€“] TootSweet@lemmy.world 6 points 9 months ago

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.