this post was submitted on 27 Jun 2023
5 points (85.7% liked)

sh.itjust.works Main Community

7718 readers
3 users here now

Home of the sh.itjust.works instance.

Matrix

founded 1 year ago
MODERATORS
 

Hi everyone! I am trying to post an image in https://sh.itjust.works/c/battlemaps, but I am getting this error. It allowed me to post a gif though. Any JPG I try to upload doesn't work. Any idea the right place to post this / report this?

you are viewing a single comment's thread
view the rest of the comments
[–] taladar@sh.itjust.works 2 points 1 year ago (1 children)

That looks like some request the website does where it expects a JSON result returned some HTML instead. It might be useful to not just report this truncated version but check the web developer tools in the network view and see which of the requests might be the one it displays there and then report the whole response as a bug on the lemmy GitHub.

[–] Domille@sh.itjust.works 4 points 1 year ago (1 children)

I know some of those words....

[–] taladar@sh.itjust.works 2 points 1 year ago

Assuming you are on some Chrome/Chromium or Firefox browser you should get the web developer tools if you hit F12 and both of those have a Network tab. There it shows all the HTTP requests your browser makes from that point on. Try to open that before you try to reproduce the problem again.

The network view has a table of requests to your lemmy instance's server. A new one will likely appear at a time just before that error message pops up. Click the rows one by one. Every time you click a row a detail panel for that row will show you more details. You want to check the response body. It should start with what you see in your error message instead of most likely starting with an opening curly brace for JSON.