You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
When I am sending JSON from my backend to my application, I am getting blobs instead of the JSON I am expecting. When I stringify the error I am getting, I get:
When I run these queries directly on the server everything works fine. When I copy the request from the debugger and manually fetch it, and then manually translate it using response.text(), I get:
[object Blob]
As the query itself works fine, shouldn’t the response be JSON?
Edit: I just realized I forgot to add my packages and whatnot, my bad:
When I am sending JSON from my backend to my application, I am getting blobs instead of the JSON I am expecting. When I stringify the error I am getting, I get:
When I run these queries directly on the server everything works fine. When I copy the request from the debugger and manually fetch it, and then manually translate it using
response.text()
, I get:[object Blob]
As the query itself works fine, shouldn’t the response be JSON?
Edit: I just realized I forgot to add my packages and whatnot, my bad:
Edit 2: Turns out this is related to whatwg-fetch being removed from React-Native 0.60 (see facebook/react-native#25701)
The text was updated successfully, but these errors were encountered: