this post was submitted on 03 Jul 2023
0 points (50.0% liked)

Memmy - An iOS client for Lemmy

2536 readers
1 users here now

Download on the App Store

View on GitHub

Join the Discord

Code of Conduct

founded 1 year ago
MODERATORS
 

When I am trying to post a comment, often times I will get this JSON error “unexpected token <”. I wonder if the call is erroring out on the server side and you’re getting an HTML error page back?

Odd thing is that 9 times out of 10, when this happens, the comment will still post. Until i discovered this, I was repeatedly hitting “submit” (since after the error you get sent right back to the comment edit dialog) and repeatedly posting! Now I can identify Memmy users by their repeat comments 😅

Is this a known issue?

I’m on lemmy.world and so it might happen more frequently for me as their servers have been going through some stuff lately…

you are viewing a single comment's thread
view the rest of the comments
[–] 4am 3 points 1 year ago

So, more info on this: it’s definitely when servers get slow, and if I spam the submit button, I can post my comment as many times as I can tap before the response comes back.

So when users are waiting for a UI response, they think they’ve mis-tapped and are probably hitting submit multiple times.

This is definitely a flow that needs attention since most users are probably on larger instances that are expediting periodic failures. This has the potential to be one of those “perfect storm” kind of bugs.