# Errors and idempotency

**URL:** https://furcata.com/en/docs/errors-and-idempotency  
**Type:** doc

When something goes wrong, Furcata answers with a JSON body that tells you what happened and gives you a reference you can quote to support. When something might have gone right but you are not sure, an idempotency key lets you retry without sending a message twice.

### The error response

Every error uses the same shape, so you can handle them in one place.

- status: the HTTP status code.
- title: a short name for the error.
- message: a safe, human-readable explanation you can show or log.
- error and error_description: the same information in OAuth style, for clients that expect it.
- correlationId: a unique reference for this exact failure. Quote it when you contact support.
- path: the endpoint that was called.

### Status codes you will meet

- 400: the request was understood but the data is not valid. Fix the request and try again.
- 401: the token is missing, expired or not accepted. Refresh it and retry.
- 403: you are signed in, but your role does not allow this action.
- 404: the account, contact or subscription does not exist.
- 409: the request conflicts with one already in progress. See idempotency below.
- 413: the request body is larger than 1 MB.
- 429: you are sending too quickly. Wait and retry.
- 5xx: something failed on our side. Retry with backoff, and quote the correlationId if it keeps happening.

Internal failures never expose stack traces or provider details. You get a plain message plus the correlation ID, and the detail stays in our logs.

### Idempotency: retry without sending twice

Networks drop responses. If you retry a message send after a timeout, you could send it twice. Add an Idempotency-Key header and Furcata will remember the first result and replay it for you.

- The key must be 16 to 128 characters, using letters, digits, hyphen or underscore.
- Use a fresh key for each new intent, and the same key for every retry of that intent.
- A key is remembered for 24 hours.
- If the first request is still running, a retry with the same key gets 409. Wait a moment and retry.
- If you reuse a key with a different body, the request is rejected rather than silently mismatched.

## Note

##### Retry only what is safe to retry

Retry a 429 or a 5xx after a short wait, and always with the same idempotency key. Do not retry a 400, 401, 403 or 404 unchanged: the request will fail the same way every time.

### Next steps

See Rate limits for the exact budgets, and Messages for the send endpoint that accepts an idempotency key.
