# Postify API error codes

Every /v1 error is RFC 9457 `application/problem+json`; the `type` URI resolves to one of these pages and `code` is the stable machine-readable discriminant.

- [`invalid_request`](https://usepostify.com/docs/api/problems/invalid-request.md) — HTTP 400, Invalid request
- [`validation_failed`](https://usepostify.com/docs/api/problems/validation-failed.md) — HTTP 400, Request validation failed
- [`authentication_required`](https://usepostify.com/docs/api/problems/authentication-required.md) — HTTP 401, Authentication required
- [`invalid_api_key`](https://usepostify.com/docs/api/problems/invalid-api-key.md) — HTTP 401, Invalid API key
- [`insufficient_scope`](https://usepostify.com/docs/api/problems/insufficient-scope.md) — HTTP 403, API credential lacks the required scope
- [`feature_not_enabled`](https://usepostify.com/docs/api/problems/feature-not-enabled.md) — HTTP 403, Feature not available on the current plan
- [`dangerous_ops_disabled`](https://usepostify.com/docs/api/problems/dangerous-ops-disabled.md) — HTTP 403, Dangerous AI operations are disabled for this workspace
- [`resource_not_found`](https://usepostify.com/docs/api/problems/resource-not-found.md) — HTTP 404, Resource not found
- [`resource_conflict`](https://usepostify.com/docs/api/problems/resource-conflict.md) — HTTP 409, Resource state conflicts with the request
- [`idempotency_in_progress`](https://usepostify.com/docs/api/problems/idempotency-in-progress.md) — HTTP 409, A request with this idempotency key is still in progress
- [`idempotency_key_reused`](https://usepostify.com/docs/api/problems/idempotency-key-reused.md) — HTTP 422, Idempotency key reused with a different request body
- [`rate_limited`](https://usepostify.com/docs/api/problems/rate-limited.md) — HTTP 429, Rate limit exceeded
- [`quota_exhausted`](https://usepostify.com/docs/api/problems/quota-exhausted.md) — HTTP 429, Plan quota exhausted for this billing period
- [`internal_error`](https://usepostify.com/docs/api/problems/internal-error.md) — HTTP 500, Internal server error
