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…

  • gkdM
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This is almost always an instance issue. Sean and I know there needs to be better error messages and it’s on the todo list, but regardless that won’t solve the issue at hand

    I should note that you should see if the comment was posted successfully. I’d say in about 80% of cases it is, but the server doesn’t respond appropriately.