Errors
Look up a named API error to see what it means, its status, its parameters, and which operations return it.
When an error response has an errorName, such as Catalog:StaleHead, look it
up here to see what went wrong, which operations return it, and the parameters
it carries. The name has the form <Service>:<Error>. The Catalog and
Applications APIs return named errors; the other services use the error bodies
described in HTTP API errors, which also
explains the full error envelope.
An operation can also return a shared error that it does not list here. If you
get an errorName that you do not recognize, handle it by its errorCode,
such as CONFLICT or NOT_FOUND: the code is the stable category, so your
handling still does the right thing when a service adds a new name.
Applications
Authorization
errorName | Status | Parameters | Operations |
|---|---|---|---|
Authorization:ConflictThe operation conflicts with current state. | 409 CONFLICT | reason | approve_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant |
Authorization:InvalidArgumentThe request or continuation token is invalid. | 400 INVALID_ARGUMENT | reason | approve_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant |
Authorization:LimitReachedAn account limit prevents this operation. | 412 FAILED_PRECONDITION | reason | approve_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant |
Authorization:NotFoundThe requested resource does not exist. | 404 NOT_FOUND | resource | approve_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant |
Catalog
Connections
errorName | Status | Parameters | Operations |
|---|---|---|---|
Connections:Conflict | 409 CONFLICT | reason | create_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential |
Connections:InvalidArgument | 400 INVALID_ARGUMENT | reason | create_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential |
Connections:NotFound | 404 NOT_FOUND | resource | create_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential |
Enrichments
errorName | Status | Parameters | Operations |
|---|---|---|---|
Enrichments:Conflict | 409 CONFLICT | reason | create_enrichment, create_version, read_version, storage_access, storage_binding |
Enrichments:InvalidArgument | 400 INVALID_ARGUMENT | reason | create_enrichment, create_version, read_version, storage_access, storage_binding |
Enrichments:NotFound | 404 NOT_FOUND | resource | create_enrichment, create_version, read_version, storage_access, storage_binding |
Locations
errorName | Status | Parameters | Operations |
|---|---|---|---|
Locations:Conflict | 409 CONFLICT | reason | create_location, create_version, read_version, storage_binding |
Locations:InvalidArgument | 400 INVALID_ARGUMENT | reason | create_location, create_version, read_version, storage_binding |
Locations:NotFound | 404 NOT_FOUND | resource | create_location, create_version, read_version, storage_binding |
Organizations
Projects
errorName | Status | Parameters | Operations |
|---|---|---|---|
Project:ConflictThe operation conflicts with current state. | 409 CONFLICT | reason | create_project, delete_project, list_projects, read_presentation, read_project, save_presentation |
Project:InvalidArgumentThe request or continuation token is invalid. | 400 INVALID_ARGUMENT | reason | create_project, delete_project, list_projects, read_presentation, read_project, save_presentation |
Project:LimitReachedAn account limit prevents this operation. | 412 FAILED_PRECONDITION | reason | create_project, delete_project, list_projects, read_presentation, read_project, save_presentation |
Project:NotFoundThe requested resource does not exist. | 404 NOT_FOUND | resource | create_project, delete_project, list_projects, read_presentation, read_project, save_presentation |
Scandal
Sql
errorName | Status | Parameters | Operations |
|---|---|---|---|
Sql:InternalThe query failed unexpectedly. The message does not expose internal details. | 500 INTERNAL | message | Stream a SQL query |
Sql:InvalidArgumentThe statement, snapshot or parameters are invalid or unsupported. | 400 INVALID_ARGUMENT | message | Stream a SQL query |
Sql:NotFoundThe Project, commit or a referenced resource does not exist. | 404 NOT_FOUND | resource | Stream a SQL query |
Sql:PermissionDeniedA resource service or the host's local storage policy refused access needed by the query. | 403 PERMISSION_DENIED | resource | Stream a SQL query |
Sql:RequestTooLargeThe encoded JSON request exceeds the host's request-size limit. | 413 REQUEST_ENTITY_TOO_LARGE | message | Stream a SQL query |
Sql:TimeoutThe query exceeded its deadline. | 504 TIMEOUT | message | Stream a SQL query |
Sql:UnauthenticatedThe caller's bearer credential is missing, invalid or expired. | 401 UNAUTHENTICATED | message | Stream a SQL query |
Sql:Unavailable (retryable)The host cannot admit another query. No query execution has started. | 503 UNAVAILABLE | message | Stream a SQL query |
Storage
errorName | Status | Parameters | Operations |
|---|---|---|---|
Storage:Conflict | 409 CONFLICT | reason | List mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status |
Storage:InvalidArgument | 400 INVALID_ARGUMENT | reason | List mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status |
Storage:LimitReached | 412 FAILED_PRECONDITION | reason | List mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status |
Storage:NotFound | 404 NOT_FOUND | resource | List mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status |
Tables
errorName | Status | Parameters | Operations |
|---|---|---|---|
Tables:Conflict | 409 CONFLICT | reason | create_table, create_version, read_version, storage_access, storage_binding |
Tables:InvalidArgument | 400 INVALID_ARGUMENT | reason | create_table, create_version, read_version, storage_access, storage_binding |
Tables:NotFound | 404 NOT_FOUND | resource | create_table, create_version, read_version, storage_access, storage_binding |
Tasks
Vector-indexes
errorName | Status | Parameters | Operations |
|---|---|---|---|
VectorIndexes:Conflict | 409 CONFLICT | reason | begin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding |
VectorIndexes:InvalidArgument | 400 INVALID_ARGUMENT | reason | begin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding |
VectorIndexes:NotFound | 404 NOT_FOUND | resource | begin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding |