I can't post comments. type'_Map<String, dynamic> is not a subtype of type 'String'
Whenever I send a comment, I get the following message:
type'_Map<String, dynamic> is not a subtype of type 'String'
And the comment is not posted.
I'm using thunder version 0.5.1. I have reinstalled the app and restarted my phone (android 14, galaxy a15 5g).
This has been an issue for a few weeks. I saw someone else posting the same issue in the thunder-app community, but didn't see an issue for it here.
Thanks for the report! Could you provide a step-by-step guide on what you did to get this error?
For example, did you use the swipe gesture to reply to a comment, use the FAB to reply, etc. It would also be helpful to include a video recording if possible so that we can reproduce it on our end. Thanks!
Whenever possible, could you also provide information on the instance you're using and their version? (e.g., lemmy.world, v0.19.3). Thanks!
I'm on lemmy.world (v0.19.3).
I got the error by
- clicking on a post to enter the comment view,
- clicking the arrow below the post
- writing a comment
- clicking send
However, can't reproduce the error anymore. I don't know why. so I'll close the issue. I'll upload a video if it happens again.
Sounds good! Thanks for double checking this, and definitely open up a new issue if it happens again.
https://github.com/user-attachments/assets/2f3f451e-d4a6-46b0-beb4-5d28176f770b
The issue is ongoing but sporadic.
@marbris, when you see this issue, is it just a one-off? Like if you immediately try to comment again, it works fine?
Or does it keep happening for long periods of time, and you have to wait minutes/hours/days until you are able to comment again?
@micahmo i cant comment for long periods of time. I tried again just now and the same thing happens.
It's hard to tell how long it doesn't work since I only feel like commenting every few weeks. But I know it didn't work several weeks apart.
I've been trying to reproduce this but have not been able to get it to trigger unfortunately 😔. The weird thing here is how you mentioned it was sporadic, so I'm not sure how to accurately reproduce this.
@micahmo have you encountered this situation?
@micahmo have you encountered this situation?
I have not unfortunately. 😞
I've had this same issue before; not sure what causes it but I suspect something with my user settings from when I was developing a while back. When I have an issue with my account (also on lemmy.world) I've tried switching to an account on a different instance and I can comment with that one. Perhaps an issue either with the instance or my account settings?
I made another account on another instance (lemmy.wtf version 0.19.5). From there, lm able to post comments on posts hosted on lemmy.world. i was not able to post comments on that same post from my lemmy.world account. So this seems to be a lemmy issue.
The issue has been on and off since I first posted the issue. I could post comments from about 1 month ago up until about a week ago. And now the issue is back.
I've also noticed that if the comment has been saved as a draft, the draft is deleted when i hit send. Despite the comment never appearing.
When i exit the comment field after having hit send (and failing to post comment), the comment is not saved as a draft.
I'm running into this about 90% of the time I try to comment on lemmy.world ever since they updated past Lemmy 0.19.3.
@jgeorgeson Thanks for bringing this back up - could I ask you a few additional questions to further troubleshoot this issue? I haven't been able to reliably reproduce this issue which is why there was never a fix applied.
- Are you using an account on lemmy.world to comment, or is your account on a different instance?
- If you have accounts on other instances, does this happen there or is it specific to lemmy.world?
- Are you using a VPN when commenting? I know lemmy.world restricts VPNs so this could be a potential cause.
- My account is on lemmy.world (currently on Lemmy BE 0.19.10)
- I hadn't tried, but adding an account from another instance (sdf.org, Lemmy BE 0.19.8) to my Thunder app now, I am able to comment on lemmy.world posts from the other instance
- No VPN
For #2 I also now tested commenting on lemmy.world posts from lemmy.one (BE 0.19.7) and lemmy.ml (BE 0.19.11-beta.1) and they worked. So it definitely seems specific to lemmy.world.