For me, the image uploads but I get the error when I try to post.
I found that if I remove the script around the hyperlink that makes it display, I can post the link to the lemmy-uploaded image. (Removing the ! [] And ( ) symbols).
Also Making the explanation mark start at a new line sometimes works.
At present it's my only work around.
For example.

https://lemmy.world/pictrs/image/089d51b9-d957-4a28-88af-29f644ed56d1.png