# Errors

> Every error the dlogify API returns, with its status and how to fix it.

Every error is an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem with the content type `application/problem+json`. Its members:

| Member | Meaning |
|---|---|
| `type` | The address of the page that explains the error, `https://docs.dlogify.com/errors/<slug>` |
| `title` | A short, fixed summary of the type |
| `status` | The HTTP status code |
| `detail` | What went wrong in this request |
| `instance` | The request ID; include it when you contact support |

Some types add members of their own, listed on their page. Switch on `type` in your code, not on `title` or `detail`, which can change.

| Type | Status | Meaning |
|---|---|---|
| [unauthorized](https://docs.dlogify.com/errors/unauthorized.md) | `401` | The request has no valid credential, or the wrong kind for this endpoint. Send the right bearer token. |
| [forbidden](https://docs.dlogify.com/errors/forbidden.md) | `403` | Your credential is valid but your role does not allow this action. |
| [csrf-origin-rejected](https://docs.dlogify.com/errors/csrf-origin-rejected.md) | `403` | A change authenticated by the session cookie did not come from the dlogify web app. Scripts must use a bearer token. |
| [plan-limit-reached](https://docs.dlogify.com/errors/plan-limit-reached.md) | `403` | A limit of your organization's plan was reached; `limit`, `max` and `used` say which. |
| [free-org-limit](https://docs.dlogify.com/errors/free-org-limit.md) | `403` | You already created the maximum number of organizations on the free plan. |
| [billing-unavailable](https://docs.dlogify.com/errors/billing-unavailable.md) | `503` | Self-service billing is not available. |
| [billing-provider-error](https://docs.dlogify.com/errors/billing-provider-error.md) | `502` | The payment provider failed or did not answer. |
| [subscription-exists](https://docs.dlogify.com/errors/subscription-exists.md) | `409` | The organization already has a subscription. |
| [no-subscription](https://docs.dlogify.com/errors/no-subscription.md) | `409` | The action needs a subscription the organization does not have. |
| [plan-change-invalid](https://docs.dlogify.com/errors/plan-change-invalid.md) | `422` | The target plan is the current plan, Free, or unknown. |
| [reauthentication-required](https://docs.dlogify.com/errors/reauthentication-required.md) | `403` | The action needs a session you signed in to in the last 15 minutes. Sign in again. |
| [channel-type-not-allowed](https://docs.dlogify.com/errors/channel-type-not-allowed.md) | `403` | Your plan does not include this channel type, usually webhooks. |
| [not-found](https://docs.dlogify.com/errors/not-found.md) | `404` | The resource does not exist, or it belongs to an organization you are not part of. |
| [conflict](https://docs.dlogify.com/errors/conflict.md) | `409` | The change conflicts with the current state of the resource. |
| [sole-owner](https://docs.dlogify.com/errors/sole-owner.md) | `409` | You are the only owner of the listed organizations, so you cannot deactivate your account yet. |
| [payload-too-large](https://docs.dlogify.com/errors/payload-too-large.md) | `413` | The body or the batch is larger than allowed. Split it into smaller requests. |
| [unsupported-media-type](https://docs.dlogify.com/errors/unsupported-media-type.md) | `415` | The Content-Type is not accepted by this endpoint. |
| [unsupported-encoding](https://docs.dlogify.com/errors/unsupported-encoding.md) | `415` | The Content-Encoding is not accepted. Use gzip or none. |
| [malformed-body](https://docs.dlogify.com/errors/malformed-body.md) | `400` | The body could not be parsed as JSON, gzip or OTLP. |
| [validation-failed](https://docs.dlogify.com/errors/validation-failed.md) | `400, 422` | The request does not match the endpoint's schema. The detail names the field. |
| [invalid-webhook-url](https://docs.dlogify.com/errors/invalid-webhook-url.md) | `422` | The webhook URL is not https or does not resolve to public addresses only. |
| [replay-window](https://docs.dlogify.com/errors/replay-window.md) | `422` | A requested time is outside what a ticket's replay can load. |
| [replay-busy](https://docs.dlogify.com/errors/replay-busy.md) | `429` | Too many replay reads are running. Wait for Retry-After and try again. |
| [archive-unavailable](https://docs.dlogify.com/errors/archive-unavailable.md) | `503` | Stored log lines could not be read right now. |
| [rate-limited](https://docs.dlogify.com/errors/rate-limited.md) | `429` | A rate limit or quota was hit. Wait for Retry-After and send again. |
| [channel-test-rate-limited](https://docs.dlogify.com/errors/channel-test-rate-limited.md) | `429` | A channel can be tested once a minute. |
| [client-error](https://docs.dlogify.com/errors/client-error.md) | `4xx` | Another client error without a more specific type. |
| [auth-error](https://docs.dlogify.com/errors/auth-error.md) | `4xx` | Another error from the authentication endpoints; `code` says which. |
| [internal](https://docs.dlogify.com/errors/internal.md) | `500` | Something failed on dlogify's side. The request is safe to retry. |
| [notifier-unavailable](https://docs.dlogify.com/errors/notifier-unavailable.md) | `503` | The notification service could not run a channel test. Try again later. |
| [tail-unavailable](https://docs.dlogify.com/errors/tail-unavailable.md) | `503` | Live tail could not start because the service behind it is not available. Try again later. |
| [notifier-timeout](https://docs.dlogify.com/errors/notifier-timeout.md) | `504` | The notification service did not finish a channel test in time. |

Source: https://docs.dlogify.com/errors
