Thrown when the API returns a body that could not be parsed as expected (e.g. an HTML page instead of JSON). statusCode is 0 because no usable response was produced.
statusCode
0
Optional
Readonly
Thrown when the API returns a body that could not be parsed as expected (e.g. an HTML page instead of JSON).
statusCodeis0because no usable response was produced.