ValidationFailed: description: >- Parameters, headers, or the body do not match the contract, or the body violates a domain rule such as salary_from <= salary_to. The body has code validation_failed and lists the failing fields in `errors` with body or parameter pointers. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: validation_failed: $ref: ./examples.yml#/ValidationFailed domain_rule: $ref: ./examples.yml#/DomainValidationFailed Unauthenticated: description: No valid session or credentials; code unauthenticated. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: unauthenticated: $ref: ./examples.yml#/Unauthenticated Forbidden: description: >- The caller is authenticated but may not perform the operation; code forbidden. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: forbidden: $ref: ./examples.yml#/Forbidden NotFound: description: >- The object does not exist or is not visible to the caller; code not_found. Missing and inaccessible objects are not distinguished. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: not_found: $ref: ./examples.yml#/NotFound IdempotencyInProgress: description: >- A request with the same Idempotency-Key and the same fingerprint is still being processed; code idempotency_in_progress. Retry after the original request completes. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: idempotency_in_progress: $ref: ./examples.yml#/IdempotencyInProgress StateConflict: description: >- The operation conflicts with the current state of the resource, for example a transition that is not allowed from its current status; code state_conflict. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: state_conflict: $ref: ./examples.yml#/StateConflict PreconditionFailed: description: >- If-Match does not match the current resource version; code version_conflict. Nothing was changed. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: version_conflict: $ref: ./examples.yml#/VersionConflict PayloadTooLarge: description: The request body exceeds the operation limit; code payload_too_large. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: payload_too_large: $ref: ./examples.yml#/PayloadTooLarge UnprocessableContent: description: >- The Idempotency-Key was already used with a different request within 24 hours; code idempotency_key_reused. Nothing was changed. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: idempotency_key_reused: $ref: ./examples.yml#/IdempotencyKeyReused PreconditionRequired: description: The operation requires If-Match; code precondition_required. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: precondition_required: $ref: ./examples.yml#/PreconditionRequired TooManyRequests: description: Too many requests; code rate_limited. headers: Retry-After: $ref: ./headers.yml#/RetryAfter content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: rate_limited: $ref: ./examples.yml#/RateLimited Internal: description: Unexpected server error; code internal. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: internal: $ref: ./examples.yml#/Internal NotImplemented: description: >- The operation is declared in the contract but not implemented yet; code not_implemented. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: not_implemented: $ref: ./examples.yml#/NotImplemented Problem: description: >- Any error response. The body is a Problem whose `status` equals the HTTP status and whose `code` is one of ProblemCode. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: validation_failed: $ref: ./examples.yml#/ValidationFailed not_found: $ref: ./examples.yml#/NotFound internal: $ref: ./examples.yml#/Internal not_implemented: $ref: ./examples.yml#/NotImplemented RegistrationValidationFailed: description: >- The body does not match the contract or violates a registration rule: a password outside 15-128 characters or on the blocklist, or a consent text version that is not the current one; code validation_failed with body pointers. An email that already belongs to an account is never a validation error. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: validation_failed: $ref: ./examples.yml#/RegistrationValidationFailed EmailVerificationFailed: description: >- The token cannot verify an email. Code verification_token_expired means the token is past its lifetime; verification_token_invalid means it is unknown, already used, or replaced by a newer link; validation_failed with the pointer `/token` means the token is malformed. Nothing was changed in any case. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: verification_token_expired: $ref: ./examples.yml#/VerificationTokenExpired verification_token_invalid: $ref: ./examples.yml#/VerificationTokenInvalid validation_failed: $ref: ./examples.yml#/VerificationTokenMalformed InvalidCredentials: description: >- The email and password do not match an account; code invalid_credentials. An unknown email and a wrong password get the same response. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: invalid_credentials: $ref: ./examples.yml#/InvalidCredentials CsrfCheckFailed: description: >- The request failed cross-site request protection: the X-CSRF-Token header is missing or does not belong to the session, or the Origin is not allowed; code csrf_check_failed. Nothing was changed. content: application/problem+json: schema: $ref: ./schemas.yml#/Problem examples: csrf_check_failed: $ref: ./examples.yml#/CsrfCheckFailed