I found the issue but I don't know how to fix it. I tried to decompile the Xiaomi Camera App and see the issue may come from the way Xiaomi generate JsonString which is not correct. Unfortunately, I can't go further because of lacking source code.
As you can see in the image, the JsonString is...