Invalid JSON response decoding on iOS #30181
Labels
Needs: Triage 🔍
Platform: iOS
iOS applications.
Resolution: Locked
This issue was locked by the bot.
Description
Sending requests using
apisauce
/axios
results in invalid JSON data on iOS.The data appears incorrect with seemingly random characters present. It changes every response and I can't identify any kind of pattern.
This is happening both on physical devices and in the simulator. I cannot reproduce on Android.
React Native version:
Steps To Reproduce
Call an endpoint - I can't really identify why it's only some endpoints and not others. Maybe something to do with the response size - bigger responses seem to hit the error more often.
const response = await this.apisauce.get('https://...')
Expected Results
I expect the response to be valid JSON.
Example of response headers:
Snack, code example, screenshot, or link to a repository:
There are many other issues referencing very similar problems:
#29908 #29698 #29196 #27857
The text was updated successfully, but these errors were encountered: