Companies error codes
Every public API error code emitted by Companies, with its HTTP status, its type and a page per code.
Error codes emitted by Companies. Each code links to its own page with the cause and the action to take.
| Code | Type | HTTP | Description |
|---|---|---|---|
company_inactive | authorization_error | 403 | The profile named in X-Active-Profile is one of your managed companies, but it is deactivated and cannot be operated until it comes back. |
gestoria_module_required | authorization_error | 403 | The master company holds a live plan, but one without the accounting-firm module, so it cannot create or operate managed companies. |
gestoria_plan_required | payment_required_error | 402 | The accounting firm has no active paid subscription, so there is no subscription on which to charge the seat. |
payment_method_required | payment_required_error | 402 | Adding a managed company charges a seat immediately, and the accounting firm operates in live mode with no payment method on file. |
seat_charge_failed | payment_required_error | 402 | The immediate pro-rated charge for the seat was declined: the card was refused, it needs authentication, or the payment provider was unreachable. The company is not created if the seat is not paid. |
Related
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.