Error codes
When the Empowerment Center API rejects a request, it responds with an HTTP status and a body that says why. This page is the reference of the codes an administrator, or whoever integrates another system with ECenter, may come across: what each one means and what to do.
Errors come in Problem Details format (application/problem+json), with a code field when the error has a code of its own:
{
"type": "about:blank",
"title": "Conflict",
"status": 409,
"detail": "The user 'ana' already exists",
"instance": "/api/security/users",
"code": "LOGIN_TAKEN"
}
detail is a sentence for whoever reads it, in the language of whoever makes the request. It may change between versions: a program must not make decisions based on it.
code is stable: it is what a program should look at (and what the frontend looks at to put the error under its field).
- Some codes carry more fields (the current version, the hidden identifiers, what uses an object); they are stated for each one.
- An error without
code is understood by its status (below).
Bearer surfaces (the query API, the MCP server, embedding, SCIM) have their own formats and codes; they are summarized at the end.
The statuses
| Status |
What it means in ECenter |
| 400 |
What was sent is not valid: a value that does not meet its rule, a malformed JSON. The detail gives the cause. |
| 401 |
There is no session (or the credential is not valid, on bearer surfaces). |
| 403 |
You do not have the privilege the route requires, or you ask for something you cannot see, or there is no license. |
| 404 |
It does not exist or has expired (a finished job, after 30 minutes). |
| 409 |
A rule prevents doing it that way: a repeated name, something in use, something in progress. |
| 412 |
Someone else changed it since you read it (with If-Match). It carries the current version. |
| 413 |
The file or the body is too large. |
| 422 |
It is understood, but cannot be done with that (a format the document does not support, a result that is too large). |
| 429 |
Too much at once. It carries Retry-After with the seconds to wait. |
| 500 |
An internal failure: INTERNAL_ERROR. |
| 502 |
The client database has failed or has not responded in time. |
| 503 |
Something outside ECenter (the identity provider) could not be checked. |
License, session and administration
| Code |
Status |
What it means |
What to do |
LICENSE_INVALID |
403 |
There is no valid license. It carries licenseStatus (MISSING, INVALID, OTHER_INSTALLATION, EXPIRED). Only /api/auth/**, /api/license, /api/me/** and /api/about respond. |
Install a valid license in Administration › License (see Startup, license and access). |
LOGIN_DELAYED |
429 |
Too many consecutive failed sign-in attempts. It carries retryAfter and the Retry-After header. |
Wait those seconds. |
ADMIN_SYSTEM_REQUIRED |
403 |
What you are trying requires System administration: giving or removing that privilege (a role that includes it, or the privilege on a role), or changing the password, status, login or email of whoever has it, or deleting them. |
Have someone with System administration do it. |
INTERNAL_ERROR |
500 |
An internal server failure. The detail always says the error is in the server log and deliberately gives no more data. |
Look in the server log for “Fallo interno en una petición de …” at that time, with its stack trace. |
Users and roles
| Code |
Status |
What it means |
What to do |
LOGIN_TAKEN |
409 |
A user with that login already exists. |
Choose another. |
EMAIL_TAKEN |
409 |
Another user already has that email (case-insensitive). |
Use another, or remove it from the other user. |
INVALID_LOGIN, INVALID_EMAIL, INVALID_DESCRIPTION, INVALID_PASSWORD |
400 |
The login, email, description or password does not meet its rule. The detail says which. |
Correct that field. |
USER_CHANGED |
412 |
When changing a user's roles with If-Match, someone else changed them first. It carries the current version. |
Read it again and repeat the change. |
ROLE_CHANGED |
412 |
The same with a role's privileges. |
Read it again and repeat the change. |
USER_MANAGED |
409 |
The user is managed by the identity provider (SCIM): that value is changed in the organization's directory. |
Change it in the directory. |
ROLE_LINKED |
409 |
The role is given by the identity provider through a linked group: it cannot be assigned or removed by hand. |
Remove the link first in Users and roles › Provisioning. |
PRIVILEGE_HAS_UNIVERSES |
409 |
The privilege you want to delete has universes. |
Remove its universes first. |
TOO_MANY_CREDENTIALS |
409 |
The holder already has the maximum number of valid service credentials (10, ecenter.security.credentials.max-active-per-holder). |
Revoke one first. |
STALE_VERSION |
409 |
In provisioning, what you want to change has changed since you read it. |
Load it again. |
CONFIRMATION_REQUIRED, LOGIN_CHANGE_REQUIRED |
409 |
In provisioning, the change needs you to confirm it (for example, changing a user's login when linking them). |
Repeat it, confirming it. |
See Security.
What the user does not see and what is in use
| Code |
Status |
What it means |
What to do |
COLUMNS_HIDDEN |
403 |
The request names dimensions or metrics the user cannot see (column-level security). It carries the identifiers it sent in dimensions and metrics, and segmentation if they were in the segmentation; never their names. It is recorded in the audit as Rejected query. |
If they should see them, give them the access privilege of those columns. If not, it is expected. |
HIDDEN_COLUMNS_NOT_EDITABLE |
403 |
You want to save a document (or a page bookmark) that uses columns you cannot see: for you it is read-only. |
Have someone who sees everything it uses save it. |
IN_USE |
409 |
You want to delete something others use (a workbook or documents of a workbook, a list, external data, a layer, a template). It carries subject, usages (what you can open, by name) and hidden (how many more you cannot open). |
Review what would break. To delete it anyway, repeat with confirmed=true; to find out without deleting, preview=true. The deletion is recorded in the audit with what used it. |
See Security.
Connections
| Code |
Status |
What it means |
What to do |
OWN_DATABASE_USER |
400 |
The connection you want to save or test would enter the ECenter own database's database with its same user. No session is opened, and the detail carries neither the URL nor the user. |
Use another user, one that cannot see the ECenter tables (see Prepare the database). |
A connection's user seeing the own database without being its user is not an API error: the result of the connection test says so with ownSchemaVisible and with OWN_SCHEMA_VISIBLE in its codes, and the console opens the OWN_SCHEMA_EXPOSED alert (see Operational alerts).
| Code |
Status |
What it means |
What to do |
NAME_TAKEN |
409 |
Another item of its kind already has the name (a connection, a grouping…). |
Use another name. |
METADATA_IMPACT |
409 |
The change affects documents, lists or publications, and has to be confirmed. |
Review the impact report and repeat with confirmed=true. |
METADATA_IN_USE |
409 |
A rule prevents the change (something uses it in a way that cannot be broken). It cannot be confirmed. |
Remove what uses it first. |
METADATA_CHANGED |
412 |
Someone else saved the item after you read it. It carries the current version. |
Read it again and repeat the change. |
DIAGRAM_CHANGED |
412 |
The same with the layout of the relationship diagram. |
Read it again. |
IMPORT_IN_PROGRESS |
409 |
Another metadata import or restore is already in progress on that connection, on this instance or another. It says who launched it. |
Wait for it to finish. |
PACKAGE_TOO_LARGE |
413 |
The metadata package exceeds its limits (64 MB uncompressed, 5,000 files, 16 MB per file). |
Review the package; the limits are in ecenter.metadata.exchange.*. |
See Metadata.
Jobs
| Code |
Status |
What it means |
What to do |
TOO_MANY_JOBS |
429 |
The user already has 100 jobs of that class waiting in the queue (ecenter.jobs.max-queued-per-user). It carries limit and Retry-After: 10. |
Wait or cancel some from the Activity panel (see Jobs and queues). |
JOB_FAILED |
500 |
The job of an export of a portal page or of the metadata exchange has failed. The detail gives the error. |
Look at the error; if it is internal, the log. |
JOB_CANCELED |
409 |
That job has been canceled. |
Ask for it again if needed. |
Some failed jobs carry a code in their error (the job's errorCode), which the frontend uses to say what to do:
| Code |
What it means |
HEAVY_CUBE |
The database estimates more rows than are calculated without asking (ecenter.cube.warn-rows, 100,000): the user has to confirm it. |
CONNECTION_UNAVAILABLE |
The connection is inactive. |
CLIENT_DATABASE_UNAVAILABLE |
The client database has failed or has not responded. |
GROUPING_INVALID |
The grouping cannot be loaded into its work table as it is. |
QUERY_INVALID, QUERY_NOT_ALLOWED |
An ad hoc query is not valid or the user cannot run it. |
REQUIRED_FILTER, NOTHING_TO_EXPORT, TOO_HEAVY |
When exporting a portal page: a value has to be chosen in a mandatory filter, the page has nothing to export, or it does not fit in Excel (422). |
Audit
| Code |
Status |
What it means |
What to do |
PERIOD_REQUIRED |
400 |
An audit search (or export) with Contains and without From has not finished within its maximum time (ecenter.audit.contains-timeout, 10 s) and was cut off in the own database. It happens with the own database in Oracle, which has no text index, and a large audit. |
Choose from which date to search (see Search, filter and export). |
Operations console
| Code |
Status |
What it means |
UNKNOWN_SERIES |
400 |
An activity series was requested that does not exist or that the installation does not offer. It carries series. |
INVALID_PERIOD |
400 |
The activity period or range is not valid (it does not exist, more than a year, a date that is not ISO 8601…). |
LAYOUT_CHANGED |
412 |
Another session has changed the layout of the Activity tab. It carries layout, the current one. |
INVALID_LAYOUT |
400 |
The layout sent is not valid (more than 40 gadgets, a repeated identifier, options of more than 2 KB…). |
Subscriptions and data alerts
| Code |
Status |
What it means |
SUBSCRIPTION_INVALID |
400 |
The subscription is not valid; the detail says what. |
DATA_ALERT_INVALID, DATA_ALERT_TRIGGER_INVALID |
400 |
The data alert or its trigger is not valid. |
FORMAT_UNAVAILABLE |
422 |
The document does not support that format (a form has no file; a chart or a map only give their data in Excel; PDF needs the headless browser). |
NOT_WATCHABLE |
422 |
The document has no values to watch. |
RESTRICTION_NOT_APPLICABLE |
400 |
A frozen published document does not accept a segmentation: it carries the publication's data. |
RECIPIENTS_NOT_ALLOWED |
403 |
Notifying other users requires the privilege to subscribe others. |
SUBSCRIPTION_LIMIT, DATA_ALERT_LIMIT |
409 |
The owner already has the maximum (50 of each, ecenter.distribution.max-per-owner and alerts.max-per-owner). |
MAIL_UNAVAILABLE |
409 |
No mail server is configured (see Mail and notices). |
NO_EMAIL |
409 |
The user has no email. |
RUN_IN_PROGRESS, TEST_IN_PROGRESS, EVALUATION_IN_PROGRESS |
409 |
A send, a test or an evaluation is already in progress. |
Bearer surfaces
The query API, the MCP server, embedding, the metadata exchange without a session and SCIM are used with a service credential (or a token), not with a session. Their codes are explained in detail in Integrations; these are the ones an administrator sees most:
| Code |
Status |
What it means |
CREDENTIAL_REQUIRED |
401 |
The credential is missing. |
INVALID_CREDENTIAL |
401 |
The credential does not exist, has expired, has been revoked or its holder can no longer use it. |
NOT_ALLOWED |
403 |
The holder does not have the privilege of that surface, or the credential does not include that connection. |
INSUFFICIENT_SCOPE |
403 |
The MCP's OAuth token lacks the scope: the client has to be authorized again. |
IDENTITY_PROVIDER_UNAVAILABLE |
503 |
An OAuth token could not be checked because its issuer does not respond. |
LICENSE_INVALID |
403 |
There is no valid license (without exceptions on these surfaces). |
API_DISABLED, MCP_DISABLED |
404 |
The query API or the MCP are turned off (ecenter.api.enabled, ECENTER_MCP_ENABLED). |
TOO_MANY_RUNNING |
429 |
Too many queries in progress for the holder or too many jobs in the queue. With Retry-After. |
RATE_LIMITED |
429 |
Too many requests per minute from that credential. With Retry-After. |
HEAVY_QUERY |
409 |
Heavy query: it has to be repeated, confirming it. |
TOO_HEAVY |
422 |
The result exceeds the limits and is not calculated even when confirmed. |
RESULT_NOT_FOUND |
404 |
The result is not on this instance (it expired, was discarded or the proxy has no affinity). |
CLIENT_DATABASE |
502 |
The client database has failed. |
QUERY_FAILED |
500 |
An internal failure of the query; the detail is in the log. |
EMBED_TOKEN_INVALID, EMBED_TOKEN_EXPIRED, EMBED_TOKEN_REPLAYED, EMBED_ORIGIN_NOT_ALLOWED, EMBED_APP_DISABLED… |
4xx |
Embedding errors: the token is not valid, has expired, has already been used, the host page is not from an allowed origin, the application is disabled… |
See also