Skip to Content
OpenETL
Reference

API errors

Every reason an API call fails with, its status code, and the metadata it carries.

Edit on GitHub

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.

ReasonCodeMeaningMetadata
INVALID_NAMEINVALID_ARGUMENTA resource's name, a parent or an ID in the request is not in the form the call takes.
INVALID_PAGE_TOKENINVALID_ARGUMENTpage_token is not one that the same list returned.
INVALID_FIELDINVALID_ARGUMENTA field of the request is missing, or has a value the call does not take.
INVALID_DOCUMENTINVALID_ARGUMENTA document, spec or config in the request does not parse, or breaks a rule of its kind.
REFERENCE_NOT_FOUNDINVALID_ARGUMENTThe 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_EXISTSINVALID_ARGUMENTA connector version was applied before with other content, roles or metadata. Versions do not change, so apply a new one.
REPOSITORY_MISMATCHINVALID_ARGUMENTA connector's versions come from another repository than the one this version names. Apply it with --transfer to move the name.
PASSWORD_REJECTEDINVALID_ARGUMENTA new password breaks the password rules.
WRONG_PASSWORDINVALID_ARGUMENTThe current password given to change it is wrong.
CONNECTOR_CONFIG_INVALIDINVALID_ARGUMENTA 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_USEFAILED_PRECONDITIONThe resource cannot be deleted while others use it.used_by: the resources that use it, separated by commas
LAST_OWNERFAILED_PRECONDITIONThe change would leave the org without an owner.
PIPELINE_PAUSEDFAILED_PRECONDITIONThe pipeline is paused. Resume it first.
PIPELINE_CONTINUOUSFAILED_PRECONDITIONThe pipeline is continuous, so it has no syncs to start.
SYNC_RUNNINGFAILED_PRECONDITIONA sync of the pipeline is running.
PLAN_FAILEDFAILED_PRECONDITIONThe pipeline's plan fails, so nothing was applied.
STREAM_NOT_PAUSABLEFAILED_PRECONDITIONThe stream cannot be paused on its own.
INCIDENT_RESOLVEDFAILED_PRECONDITIONThe incident is resolved already.
WEBHOOK_DISABLEDFAILED_PRECONDITIONThe webhook is disabled. Enable it first.
HOLD_STATE_CONFLICTFAILED_PRECONDITIONThe hold's state does not take the release or the discard, such as a discard of a hold that is discarded already.
RESET_NOT_SUPPORTEDFAILED_PRECONDITIONThe pipeline's Flink job keeps state of its own, which a reset or a rewind would not change.
SIZE_EXCEEDS_RUNNERSFAILED_PRECONDITIONThe size is larger than any runner of the pipeline's data plane and pool can take.
SERVER_NOT_CONFIGUREDFAILED_PRECONDITIONThe server is not set up for the call, such as a server without a secrets key asked to store a secret's value.
CONNECTOR_FAILEDFAILED_PRECONDITIONA connector operation, such as a check or a discover, failed.code: the error's taxonomy code
FILE_UNREADABLEFAILED_PRECONDITIONThe data plane cannot return the quarantine file's lines, such as when its first line is too large.
FETCH_CREDENTIAL_UNAVAILABLEFAILED_PRECONDITIONA 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_OFFFAILED_PRECONDITIONSign-in is off on this server.
PASSWORD_LINK_INVALIDFAILED_PRECONDITIONThe password link was used already, has expired, or was replaced by a newer one.
PASSWORD_UNAVAILABLEFAILED_PRECONDITIONThe 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_LOCKEDFAILED_PRECONDITIONThe password is locked after too many wrong tries.
PASSWORD_CHANGEDFAILED_PRECONDITIONThe password was reset or locked while the call checked it. Sign in again.
RESOURCE_NOT_FOUNDNOT_FOUNDThe resource does not exist.
RESOURCE_EXISTSALREADY_EXISTSA resource with the name exists.
ETAG_MISMATCHABORTEDThe etag does not match: the resource changed since it was read.
CONCURRENT_CHANGEABORTEDThe request conflicted with another one and changed nothing. Try again.
NO_RUNNERUNAVAILABLENo runner of the data plane took the work in time.data_plane
CONNECTOR_UNAVAILABLEUNAVAILABLEA connector operation could not reach what the connector connects to, or was rate limited. Try again.code: the error's taxonomy code
DATA_PLANE_UNAVAILABLEUNAVAILABLEA runner of the data plane could not do the work, such as reading a sync's log. Try again.
ORCHESTRATION_UNAVAILABLEUNAVAILABLEThe change was stored, but what runs pipelines could not be told. Make the call again.
AUDIT_UNAVAILABLEUNAVAILABLEThe audit log could not record the call, so it was not made. Try again.
REGISTRY_UNAVAILABLEUNAVAILABLEA registry or GitHub could not be reached, or did not give what was asked for.
DATA_PLANE_TIMEOUTDEADLINE_EXCEEDEDThe data plane did not finish the work in time.
SIGN_IN_RATE_LIMITEDRESOURCE_EXHAUSTEDToo many sign-ins came from the client's address. Try again in a minute.
MISSING_PERMISSIONPERMISSION_DENIEDThe 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_ALLOWEDPERMISSION_DENIEDThe call is not one any caller may make this way.
WRONG_DATA_PLANEPERMISSION_DENIEDA runner token was used for another data plane's work.
ORIGIN_REFUSEDPERMISSION_DENIEDThe call came from a web page of another site, or named the server by a host it does not answer to.
CREDENTIAL_MISSINGUNAUTHENTICATEDThe call has no credential, and needs one.
CREDENTIAL_INVALIDUNAUTHENTICATEDThe credential is not known, has expired, belongs to a disabled principal, or is not the kind the service takes.
SIGN_IN_FAILEDUNAUTHENTICATEDThe email or the password is wrong, or the account is locked.
CANCELEDCANCELEDThe caller canceled the call.

An INTERNAL error carries no reason. The server logs what went wrong, and the message says only internal error.