this post was submitted on 15 Jun 2023
13 points (100.0% liked)

General Discussion

23 readers
2 users here now

Want something to discuss? Post it here

Follow instance rules, be decent human being...

founded 2 years ago
MODERATORS
 

I'm getting the following error when trying to upload a photo to lemmy: "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data". Anyone else? Who would I even talk to about this?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago (1 children)
[–] [email protected] 1 points 2 years ago (1 children)

I'm pretty new to lemmy in general and have no idea who to ask about this. The github repo "issues" forum? I see no links to talk to a developer about this. I actually get this error all the time when I'm writing my backend apps, but I have no idea how that knowledge would apply to this.

[–] [email protected] 2 points 2 years ago

Yeah! I got the same here.

[–] [email protected] 1 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago

^^ Right now you'll just have to upload it to somewhere else (imgbb, catbox, etc) and attach it manually ![text](link)

[–] [email protected] 1 points 2 years ago (1 children)

Generally most communities wont allow to upload photos. Try imgur

[–] [email protected] 2 points 2 years ago

I created the community and it does allow photo uploads.

[–] [email protected] 1 points 2 years ago (1 children)

Here's an image of what's going on in the console: https://imgur.com/a/8N4GHbu. It's a 400 bad request.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

And here is the response in the console: "Request error: error sending request for url (http://pictrs:8080/image): operation timed out". From my very loose understanding, this is maybe a server issue.

load more comments
view more: next ›