Developer reference
HTTP request failed
https://filezar.io/problems/http-error
HTTP status: the actual 4xx or 5xx status
API scope: Filezar API and applicable first-party operations
When it happens
An otherwise unclassified HTTP 4xx or 5xx response, including method, media-type, and request-body-limit refusals.
What to do
Use the actual HTTP status to handle this generic failure. Check method, content type, and request size.
Example response
Illustrative values only. Responses use application/problem+json.
{
"type": "https://filezar.io/problems/http-error",
"title": "HTTP request failed",
"status": 405,
"detail": "HTTP request failed.",
"instance": "urn:s3explorer:trace:example-trace",
"traceId": "example-trace",
"spanId": "example-span"
}
Every problem also uses the common response fields.