TypeError returned by fetch API in Chrome iOS 58
I am trying to use fetch to create an HTTP request. It works great except for one iPhone (iOS v10.3.1) and only in Chrome (v58.0.3029.83).
Initially, when we first saw this problem, it was because we had header values ββthat were undefined. I have since filtered these headers, so the only header in the request is:
Content-Type: application/json
The response we receive does not contain headers and no body TypeError: Type error
. It doesn't actually make the request as it doesn't reach the server.
I don't know what to do next. Difficult to debug when I don't have access to any devtools for it.
+3
source to share