this post was submitted on 24 Jun 2023
5 points (100.0% liked)

Support

1 readers
1 users here now

Community for all your questions and help relating to Lemmy, VLemmy (this instance), or the Fediverse in general.

founded 2 years ago
MODERATORS
 

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

This is the error I'm getting in a red banner when trying to upload an avatar (512x512px, 39kb jpeg file). Was able to upload the same image to lemmy.world (which currently uses BE 0.17.4) without any errors.

top 7 comments
sorted by: hot top controversial new old
[–] hero2zer0@vlemmy.net 2 points 2 years ago (1 children)
[–] hemmes@vlemmy.net 1 points 2 years ago* (last edited 2 years ago) (1 children)

I still can’t upload photos to posts or comments.

:-/

[–] hero2zer0@vlemmy.net 1 points 2 years ago (1 children)

I can't upload either right now - tried with a gif, a png and a jpeg files. Keep getting this for an error:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
[–] hemmes@vlemmy.net 1 points 2 years ago

Are you on any other instances at version 18 you can try?

[–] hemmes@vlemmy.net 1 points 2 years ago* (last edited 2 years ago)

Same here. Can’t upload an image to anything, posts, comments, nothing. Only on VLemmy. My other Lemmy and Kbin instances are fine.

Edit: The error I received when trying to insert into the body of a comment or at the top link when making a post is:

SyntaxError: JSON Parse error: Unexpected identifier "Request"

[–] DerpyPlayz18@vlemmy.net 1 points 2 years ago (1 children)

I'm having the exact same issue: API error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

load more comments
view more: next ›