I had a problem in my project (React Native + Rails). Backend keeps getting ArgumentError (invalid byte sequence in UTF-8)
. I googled for it for a few hours but cannot get any answer (of course trying to fix it by myself).
Eventually, I found a solution from an answer of this post: How to upload local image file on React Native app to Rails api? .
I'd like to share this answer with others but the question itself and the title is quite different from the problem that I have. So it does not show up very well in google and SO search results with keyword of error message.
I don't think title editing is a good idea because the OP does not include the error. I don't want to create a new post because of duplication. What should I do?