this post was submitted on 04 Jul 2023
140 points (98.6% liked)

196

17237 readers
2825 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
140
Lemmy (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] tinsuke 23 points 2 years ago

Yup, very likely that.

My crystal ball says that your client is trying to parse the response of a failed request as it was a successful one.

A successful request would return a valid JSON object, while a failed on would probably return an error message.

Report a bug with your client devs saying that they should check that request's status code says it's successful before trying to parse its response as JSON.