Reference
API errors
Every reason an API call fails with, its status code, and the metadata it carries.
Every error the API returns, except an internal one, carries a reason. The reason is in a google.rpc.ErrorInfo detail, whose domain is openetl.io and whose metadata holds the keys the table below lists. Each reason comes with one status code. The ErrorReason enum in proto/openetl/api/v1/error_reason.proto lists the same reasons.
Codes and reasons are stable: a program can act on them. The message is for people, and its text changes. Connect to the API shows where each transport puts the reason.
| Reason | Code | Meaning | Metadata |
|---|---|---|---|
INVALID_NAME | INVALID_ARGUMENT | A resource's name, a parent or an ID in the request is not in the form the call takes. | |
INVALID_PAGE_TOKEN | INVALID_ARGUMENT | page_token is not one that the same list returned. | |
INVALID_FIELD | INVALID_ARGUMENT | A field of the request is missing, or has a value the call does not take. | |
INVALID_DOCUMENT | INVALID_ARGUMENT | A document, spec or config in the request does not parse, or breaks a rule of its kind. | |
REFERENCE_NOT_FOUND | INVALID_ARGUMENT | The request or one of its documents names a resource that does not exist, such as a source, a secret, a workspace, a data plane, a cluster or a connector version. | |
VERSION_EXISTS | INVALID_ARGUMENT | A connector version was applied before with other content, roles or metadata. Versions do not change, so apply a new one. | |
REPOSITORY_MISMATCH | INVALID_ARGUMENT | A connector's versions come from another repository than the one this version names. Apply it with --transfer to move the name. | |
PASSWORD_REJECTED | INVALID_ARGUMENT | A new password breaks the password rules. | |
WRONG_PASSWORD | INVALID_ARGUMENT | The current password given to change it is wrong. | |
CONNECTOR_CONFIG_INVALID | INVALID_ARGUMENT | A connector operation, such as a check or a discover, could not run because the connector's config is not valid. | code: the error's taxonomy code |
RESOURCE_IN_USE | FAILED_PRECONDITION | The resource cannot be deleted while others use it. | used_by: the resources that use it, separated by commas |
LAST_OWNER | FAILED_PRECONDITION | The change would leave the org without an owner. | |
PIPELINE_PAUSED | FAILED_PRECONDITION | The pipeline is paused. Resume it first. | |
PIPELINE_CONTINUOUS | FAILED_PRECONDITION | The pipeline is continuous, so it has no syncs to start. | |
SYNC_RUNNING | FAILED_PRECONDITION | A sync of the pipeline is running. | |
PLAN_FAILED | FAILED_PRECONDITION | The pipeline's plan fails, so nothing was applied. | |
STREAM_NOT_PAUSABLE | FAILED_PRECONDITION | The stream cannot be paused on its own. | |
INCIDENT_RESOLVED | FAILED_PRECONDITION | The incident is resolved already. | |
WEBHOOK_DISABLED | FAILED_PRECONDITION | The webhook is disabled. Enable it first. | |
HOLD_STATE_CONFLICT | FAILED_PRECONDITION | The hold's state does not take the release or the discard, such as a discard of a hold that is discarded already. | |
RESET_NOT_SUPPORTED | FAILED_PRECONDITION | The pipeline's Flink job keeps state of its own, which a reset or a rewind would not change. | |
SIZE_EXCEEDS_RUNNERS | FAILED_PRECONDITION | The size is larger than any runner of the pipeline's data plane and pool can take. | |
SERVER_NOT_CONFIGURED | FAILED_PRECONDITION | The server is not set up for the call, such as a server without a secrets key asked to store a secret's value. | |
CONNECTOR_FAILED | FAILED_PRECONDITION | A connector operation, such as a check or a discover, failed. | code: the error's taxonomy code |
FILE_UNREADABLE | FAILED_PRECONDITION | The data plane cannot return the quarantine file's lines, such as when its first line is too large. | |
FETCH_CREDENTIAL_UNAVAILABLE | FAILED_PRECONDITION | A runner asked for a credential to fetch from a URL, and the connector source it comes from cannot give one, such as when its secret is gone. | |
SIGN_IN_OFF | FAILED_PRECONDITION | Sign-in is off on this server. | |
PASSWORD_LINK_INVALID | FAILED_PRECONDITION | The password link was used already, has expired, or was replaced by a newer one. | |
PASSWORD_UNAVAILABLE | FAILED_PRECONDITION | The principal has no password to sign in with or to change: it is a service account, it has no email, or no password was set. | |
PASSWORD_LOCKED | FAILED_PRECONDITION | The password is locked after too many wrong tries. | |
PASSWORD_CHANGED | FAILED_PRECONDITION | The password was reset or locked while the call checked it. Sign in again. | |
RESOURCE_NOT_FOUND | NOT_FOUND | The resource does not exist. | |
RESOURCE_EXISTS | ALREADY_EXISTS | A resource with the name exists. | |
ETAG_MISMATCH | ABORTED | The etag does not match: the resource changed since it was read. | |
CONCURRENT_CHANGE | ABORTED | The request conflicted with another one and changed nothing. Try again. | |
NO_RUNNER | UNAVAILABLE | No runner of the data plane took the work in time. | data_plane |
CONNECTOR_UNAVAILABLE | UNAVAILABLE | A connector operation could not reach what the connector connects to, or was rate limited. Try again. | code: the error's taxonomy code |
DATA_PLANE_UNAVAILABLE | UNAVAILABLE | A runner of the data plane could not do the work, such as reading a sync's log. Try again. | |
ORCHESTRATION_UNAVAILABLE | UNAVAILABLE | The change was stored, but what runs pipelines could not be told. Make the call again. | |
AUDIT_UNAVAILABLE | UNAVAILABLE | The audit log could not record the call, so it was not made. Try again. | |
REGISTRY_UNAVAILABLE | UNAVAILABLE | A registry or GitHub could not be reached, or did not give what was asked for. | |
DATA_PLANE_TIMEOUT | DEADLINE_EXCEEDED | The data plane did not finish the work in time. | |
SIGN_IN_RATE_LIMITED | RESOURCE_EXHAUSTED | Too many sign-ins came from the client's address. Try again in a minute. | |
MISSING_PERMISSION | PERMISSION_DENIED | The caller does not have the permission the call needs. | permission; role: the least role that has it; workspace: workspaces/WORKSPACE, or empty for the org |
PROCEDURE_NOT_ALLOWED | PERMISSION_DENIED | The call is not one any caller may make this way. | |
WRONG_DATA_PLANE | PERMISSION_DENIED | A runner token was used for another data plane's work. | |
ORIGIN_REFUSED | PERMISSION_DENIED | The call came from a web page of another site, or named the server by a host it does not answer to. | |
CREDENTIAL_MISSING | UNAUTHENTICATED | The call has no credential, and needs one. | |
CREDENTIAL_INVALID | UNAUTHENTICATED | The credential is not known, has expired, belongs to a disabled principal, or is not the kind the service takes. | |
SIGN_IN_FAILED | UNAUTHENTICATED | The email or the password is wrong, or the account is locked. | |
CANCELED | CANCELED | The caller canceled the call. |
An INTERNAL error carries no reason. The server logs what went wrong, and the message says only internal error.