---
title: "Errors | Docs | e-Factura Gateway by R&D Copilot"
description: "The error object of the e-Factura Gateway API and the codes that say what went wrong."
canonical: "https://efactura.rdcopilot.com/docs/reference/errors/"
language: en
updated: 2026-11-22
---

# Errors

The error object of the e-Factura Gateway API and the codes that say what went wrong.

An error is an HTTP status and a JSON object whose `code` never changes its meaning.

## The error object

| Field | Meaning |
| --- | --- |
| `code` | A stable code for the cause. Act on this. |
| `message` | A sentence to read in your logs. It can change, so do not show it to the people who use your software and do not match on it. |
| `fields` | On a 400, each field that is wrong and why. Absent otherwise. |
| `requestId` | The identifier of this request. Quote it when you ask us for help. |

Every answer, an error or not, carries the header `X-RDC-Request-Id` with the same value as `requestId`.

## Codes every product shares

| Status | Code | Meaning | Retry |
| --- | --- | --- | --- |
| `400` | `invalid_request` | The request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. `fields` names each one. | No. Fix the request. |
| `401` | `unauthorized` | The token is missing, expired or not ours. | After you get a new token. |
| `403` | `forbidden` | The token does not give access to this company or operation. | No. |
| `404` | `<thing>_not_found` | The record does not exist for this company. | No. |
| `409` | `revision_conflict` | `expectedRevision` is older than the record. | Read the record again, then send a new operation. |
| `409` | `operation_reused` | This `operationId` was sent before with another body. | No. |
| `422` | A code of the product, such as `blocked_by_checks` | The request is well formed and a rule of the product refuses it. | No. The code says what to change. |
| `429` | `rate_limited` | Too many requests. `Retry-After` gives the seconds. | Yes, after the pause. |
| `503` | `unavailable` | The service cannot answer now. | Yes, with the same `operationId`. |

## Codes of e-Factura Gateway

| Status | Code | Meaning |
| --- | --- | --- |
| `404` | `company_not_found` | The company does not exist in your account. |
| `404` | `no_authorisation` | The company has no authorisation yet: its representative has not confirmed access at the authority. |
| `404` | `invoice_not_found` | The invoice does not exist in your account. |
| `404` | `operation_not_found` | No change was sent with this `operationId`. |
| `404` | `delivery_not_found` | The delivery does not exist in your account. |
| `404` | `subscription_not_found` | The subscription does not exist in your account. |
| `404` | `no_stored_file` | The invoice has no stored file yet. A file is stored for an accepted invoice and for a received one. |
| `409` | `invalid_status` | The invoice is not in a status that allows this. |
| `409` | `already_corrected` | A correction of this invoice already exists. |
| `409` | `already_credited` | A credit note for this invoice already exists. |
| `409` | `authorisation_not_in_force` | The authorisation of the company is not in force. Nothing was sent. |
| `409` | `authorisation_revoked` | The authorisation was revoked. The gateway cannot renew it. |
| `409` | `no_renewal_needed` | The authorisation does not need renewal yet. |
| `409` | `renewal_running` | A renewal is already under way. |
| `409` | `no_renewal_running` | No renewal is under way. |
| `409` | `sync_paused` | Synchronisation of the company is paused. |
| `409` | `nothing_new` | The authority lists nothing new for this company. |
| `409` | `already_paused` | Synchronisation is already paused. |
| `409` | `not_paused` | Synchronisation is not paused. |
| `409` | `endpoint_answering` | The event endpoint already answers. |
| `409` | `endpoint_not_answering` | The event endpoint still does not answer. The event stays parked. |
| `409` | `nothing_to_retry` | The delivery is not waiting for a retry. |
| `409` | `nothing_parked` | The delivery is not parked. |
| `409` | `company_exists` | A company with this CIF is already in your account. |
| `422` | `blocked_by_checks` | A blocking check still fails. Nothing was sent and the invoice stays a draft. |
| `422` | `invalid_vat_rate` | That is not a VAT rate an invoice may carry. |
| `422` | `no_such_line` | The invoice has no line with this code. |

The full rule: [Developer guide](https://rdcopilot.com/docs/errors/)
