Developer reference
API problem reference
Filezar uses RFC 9457 Problem Details
for API errors. Match the complete type URI in your client. You do not need to
open that URL or have internet access to handle the response.
Titles and details are for people; their wording may change. Ignore unknown fields, and use the HTTP status when a type is unfamiliar. These definitions describe generic API errors.
| Type suffix | HTTP status | Meaning |
|---|---|---|
| access-policy-in-use | 409 | Access Policy in use |
| bad-request | 400 | Bad request |
| business-rule | 422 | Request could not be processed |
| conflict | 409 | Request conflict |
| content-policy-conflict | 409 | Content policy conflict |
| cross-s3-backend-copy-not-supported | 422 | Cross-S3-backend copy unavailable |
| csrf-invalid | 400 | Invalid CSRF token |
| delegated-access-unavailable | 403 | Delegated access unavailable |
| delegated-user-not-eligible | 403 | Represented user not eligible |
| delivery-ticket-invalid | 404 | Invalid delivery ticket |
| external-id-conflict | 409 | External ID conflict |
| folder-structure-managed | 409 | Folder structure is managed |
| forbidden | 403 | Access denied |
| gone | 410 | Resource gone |
| grant-set-revision-conflict | 409 | Grant set revision conflict |
| http-error | 4xx / 5xx | HTTP request failed |
| idempotency-in-progress | 409 | Idempotent write in progress |
| idempotency-key-conflict | 409 | Idempotency key conflict |
| idempotency-key-invalid | 400 | Invalid idempotency key |
| identity-provider-unavailable | 503 | Identity provider unavailable |
| idp-role-unmapped | 503 | IdP-managed role not mapped |
| internal-server-error | 500 | Unexpected error |
| not-found | 404 | Not found |
| quota-exceeded | 422 | Quota exceeded |
| range-not-satisfiable | 416 | Range not satisfiable |
| rate-limit-exceeded | 429 | Rate limit exceeded |
| request-timeout | 408 | Request timeout |
| revision-pruned | 410 | Revision pruned |
| s3-backend-access-denied | 403 | S3 backend access denied |
| s3-backend-capability-unavailable | 422 | S3 backend capability unavailable |
| s3-backend-setup-required | 409 | S3 backend setup required |
| s3-backend-test-capacity-exceeded | 429 | S3 backend test capacity exceeded |
| s3-backend-unavailable | 409 | S3 backend unavailable |
| storage-unavailable | 502 | S3 backend request failed |
| stored-content-not-found | 404 | Stored content not found |
| transfer-capacity-exceeded | 503 | Service busy |
| unauthorized | 401 | Authentication required |
| upload-part-checksum-mismatch | 422 | Upload checksum mismatch |
| upload-request-shape | 400 | Invalid upload request |
| upstream-service-unavailable | 502 | Required service unavailable |
| validation | 400 | Validation failed |
| variant-no-longer-permitted | 403 | Variant no longer permitted |
Common response fields
type(required)- Stable problem identifier. Compare the complete URI; do not fetch it to handle an error.
title(required)- Human-readable problem title. Do not branch on this text.
status(required)- The actual HTTP error status for this occurrence.
detail(optional)- Safe explanation of this occurrence. Do not parse it as a code.
instance(required)- Opaque occurrence identifier tied to the request trace.
traceId(required)- Trace identifier to give the deployment operator.
spanId(required)- Span identifier, or null when no span exists.
debug(optional)- Exception diagnostics, only in Development with the internal debug switch enabled.
Response limits
HEAD responses have no body. Errors from a customer proxy, and failures after streaming starts, may have no problem body. Keep the HTTP status and trace identifier when reporting a failure.
Version policy
The API is currently pre-release. Once released, a problem URI keeps its meaning; a breaking change needs a new type. Published definitions remain available for older deployments. The public site can describe types that your installed version does not support.