error
- Returned as
- The problem's code
- HTTP status
- Any: the response's own status
- type
https://zautha.com/docs/errors/error
When it happens
Section titled “When it happens”- In the SDKs:
@zautha/jsand@zautha/backendreport a failed response whose body is not a Zautha problem with this code: for example an HTML error page from a proxy or a load balancer between you and Zautha. The status is the response’s own. A413is the exception: it is alwayspayload_too_large. - On the server: the fallback for an error status that has none of the codes above. None of the endpoints your application calls returns it.
(Zautha.AspNetCore reports such a response as unexpected_response on ZauthaApiException, a 413 as
payload_too_large.)
What to do
Section titled “What to do”Look at the status and at what sits between your app and Zautha (a proxy, a firewall, a captive portal). Retry once the network path works.