# COMPANY_NOT_ACTIVATED_IN_ENVIRONMENT

This company is not activated in ‹value› mode. Activate it in that mode before connecting the payment provider: activation is what creates the invoice series and tax configuration that charges need

<Callout type="info">
**Category:** [Payment integrations](/errors/category/paymentintegration)
</Callout>

| | |
|---|---|
| HTTP status | `400` Bad Request |

## Example response

When this error occurs, the API answers `400` Bad Request with a JSON body of this shape:

```json
{
  "type": "https://docs.beel.es/errors/COMPANY_NOT_ACTIVATED_IN_ENVIRONMENT",
  "title": "COMPANY_NOT_ACTIVATED_IN_ENVIRONMENT",
  "detail": "This company is not activated in ‹value› mode. Activate it in that mode before connecting the payment provider: activation is what creates the invoice series and tax configuration that charges need",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "COMPANY_NOT_ACTIVATED_IN_ENVIRONMENT",
    "message": "This company is not activated in ‹value› mode. Activate it in that mode before connecting the payment provider: activation is what creates the invoice series and tax configuration that charges need",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}
```

The `type` URI is stable and always resolves to this page.

## Message

<Tabs items={["English", "Spanish", "Catalan"]}>
  <Tab value="English">{"This company is not activated in ‹value› mode. Activate it in that mode before connecting the payment provider: activation is what creates the invoice series and tax configuration that charges need"}</Tab>
  <Tab value="Spanish">{"Esta empresa no está activada en modo ‹value›. Actívala en ese modo antes de conectar el proveedor de pago: la activación es la que crea las series y la configuración fiscal que necesitan los cobros"}</Tab>
  <Tab value="Catalan">{"Aquesta empresa no està activada en mode ‹value›. Activa-la en aquest mode abans de connectar el proveïdor de pagament: l'activació és la que crea les sèries i la configuració fiscal que necessiten els cobraments"}</Tab>
</Tabs>

Send the request with `Accept-Language: <es|en|ca>` to receive the message in your preferred language.

> Placeholders like `‹value›` are filled in at runtime with the actual values of your request.

## Other errors in this category

<div className="grid grid-cols-2 gap-3 not-prose">
  <Card title="CONNECTION_NOT_ACTIVE" description="Payment connection is not active" href="/errors/CONNECTION_NOT_ACTIVE" />
  <Card title="CONNECTION_NOT_FOUND" description="Payment connection not found" href="/errors/CONNECTION_NOT_FOUND" />
  <Card title="CONNECTION_SERIE_INACTIVE" description="The selected series is deactivated" href="/errors/CONNECTION_SERIE_INACTIVE" />
  <Card title="CONNECTION_SERIE_NOT_FOUND" description="The selected series does not exist in this company and environment" href="/errors/CONNECTION_SERIE_NOT_FOUND" />
  <Card title="CONNECTION_SERIE_TIPO_INCOMPATIBLE" description="The series document type (‹value›) is not compatible with this field (‹value›)" href="/errors/CONNECTION_SERIE_TIPO_INCOMPATIBLE" />
</div>

## Keep exploring

<div className="grid grid-cols-2 gap-3 not-prose">
  <Card title="All Payment integrations errors" description="Every code in this category in one table." href="/errors/category/paymentintegration" />
  <Card title="Error reference home" description="Browse every category or jump to the handling guide." href="/errors" />
</div>

---

Full OpenAPI spec: https://docs.beel.es/api/openapi