Reference

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

errorNameStatusParametersOperations
Apps:Conflict409 CONFLICTapplicationIdApprove an installation, Create an Application, Update an Application, Review an installation request, Suspend or resume an installation
Apps:ConsentConflict409 CONFLICTreasondecide_consent
Apps:InvalidArgument400 INVALID_ARGUMENTreasonCreate an Application, Read the authenticated installation, Read the authenticated Application, Read your Application installation, Find your Organization installation, List the installations of an Application, List the Applications of a Project, List the authenticated installation projects, List the installations in your Organization, List your Application installations, List your accessible installation projects, Update an Application, Set the app access of your Organization, Request an installation
Apps:InvalidConsent400 INVALID_ARGUMENTreasondecide_consent, get_consent_request
Apps:NotFound404 NOT_FOUNDapplicationIdApprove an installation, Delete an Application, Read an Application, Read the authenticated installation, Preview an Application for installation, Read an installation, Read the authenticated Application, Read your Application installation, Find your Organization installation, List the installations of an Application, List the authenticated installation projects, List your Application installations, List your accessible installation projects, Update an Application, Request an installation, Review an installation request, Suspend or resume an installation, Uninstall an Application
Apps:RegistrationUnavailable (retryable)500 INTERNALapplicationIdApprove an installation, Create an Application, Delete an Application, Read the app access of your Organization, Update an Application, Set the app access of your Organization, Review an installation request, Suspend or resume an installation, Uninstall an Application

Authorization

errorNameStatusParametersOperations
Authorization:Conflict

The operation conflicts with current state.

409 CONFLICTreasonapprove_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant
Authorization:InvalidArgument

The request or continuation token is invalid.

400 INVALID_ARGUMENTreasonapprove_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant
Authorization:LimitReached

An account limit prevents this operation.

412 FAILED_PRECONDITIONreasonapprove_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant
Authorization:NotFound

The requested resource does not exist.

404 NOT_FOUNDresourceapprove_installation, grant_role, list_grants, read_grant, read_installation, reject_installation, review_installation, revoke_grant

Catalog

errorNameStatusParametersOperations
Catalog:AmbiguousMergeBase412 FAILED_PRECONDITIONcountMerge commits
Catalog:BranchNotFound404 NOT_FOUNDbranchCompare two commits, Create a branch, Create a tag, Delete a branch, Compare the state of two commits, Merge commits, Find merge bases, Publish changes, Publish an operation result, Read a branch by name, List the events of a branch, Read the commit log, Rename a branch, Resolve a commit selector, Revert a commit
Catalog:CatalogLimitExceeded412 FAILED_PRECONDITIONmaximumEntries, namespaceCount, resourceCountCompare the state of two commits, List namespace bindings, Merge commits, Publish changes, Publish an operation result, Revert a commit
Catalog:CommitNotFound404 NOT_FOUNDcommitIdCompare two commits, Create a branch, Create a tag, Compare the state of two commits, List namespace bindings, Merge commits, Find merge bases, Publish changes, Publish an operation result, Read a commit, Read the commit log, Read a resource at a commit, Read project state, Resolve a commit selector, Resolve a namespace path, Resolve namespace paths, Revert a commit
Catalog:CommitTraversalLimitExceeded412 FAILED_PRECONDITIONmaximumCommitsCompare two commits, Merge commits, Find merge bases, Publish changes, Publish an operation result, Read the commit log, Revert a commit
Catalog:IdempotencyKeyReused409 CONFLICT—Create a branch, Create a tag, Delete a branch, Merge commits, Publish changes, Publish an operation result, Rename a branch, Revert a commit
Catalog:InvalidArgument400 INVALID_ARGUMENTreasonCompare two commits, Create a branch, Create a tag, Delete a branch, Compare the state of two commits, Initialize a project catalog, List branches, List namespace bindings, List tags, Merge commits, Find merge bases, Publish changes, Publish an operation result, Read a branch by name, Read a branch event, List the events of a branch, Read a commit, Read the commit log, Read an operation receipt, List the branch events of a project, Read a resource at a commit, Read project state, Read a tag by name, Recover a publication, Rename a branch, Resolve a commit selector, Resolve a namespace path, Resolve namespace paths, Revert a commit
Catalog:InvalidPageToken400 INVALID_ARGUMENTreasonList branches, List namespace bindings, List tags, List the events of a branch, List the branch events of a project, Read project state
Catalog:NameConflict409 CONFLICTnameCreate a branch, Create a tag, Rename a branch
Catalog:NotFound404 NOT_FOUNDresourceRead a branch event
Catalog:OperationInputMismatch409 CONFLICToperationIdPublish an operation result
Catalog:ResourceNotFound404 NOT_FOUNDresourceIdRead a resource at a commit
Catalog:StaleHead409 CONFLICTcurrent, expectedMerge commits, Publish changes, Publish an operation result, Revert a commit
Catalog:TagNotFound404 NOT_FOUNDtagCompare two commits, Create a branch, Create a tag, Compare the state of two commits, Merge commits, Find merge bases, Read the commit log, Read a tag by name, Resolve a commit selector
Catalog:TransactionBaseNotAncestor412 FAILED_PRECONDITIONbase, headPublish changes, Publish an operation result, Revert a commit

Connections

errorNameStatusParametersOperations
Connections:Conflict409 CONFLICTreasoncreate_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential
Connections:InvalidArgument400 INVALID_ARGUMENTreasoncreate_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential
Connections:NotFound404 NOT_FOUNDresourcecreate_connection, drop_connection, read_connection, test_connection, update_allowed_access, update_credential, update_description, vend_credential

Enrichments

errorNameStatusParametersOperations
Enrichments:Conflict409 CONFLICTreasoncreate_enrichment, create_version, read_version, storage_access, storage_binding
Enrichments:InvalidArgument400 INVALID_ARGUMENTreasoncreate_enrichment, create_version, read_version, storage_access, storage_binding
Enrichments:NotFound404 NOT_FOUNDresourcecreate_enrichment, create_version, read_version, storage_access, storage_binding

Locations

errorNameStatusParametersOperations
Locations:Conflict409 CONFLICTreasoncreate_location, create_version, read_version, storage_binding
Locations:InvalidArgument400 INVALID_ARGUMENTreasoncreate_location, create_version, read_version, storage_binding
Locations:NotFound404 NOT_FOUNDresourcecreate_location, create_version, read_version, storage_binding

Organizations

errorNameStatusParametersOperations
Organization:Conflict

The operation conflicts with current state.

409 CONFLICTreasoncreate_organization, create_portal_link, deactivate_member, invite_member, list_invitations, list_members, list_memberships, read_config, read_identity, resend_invitation, revoke_invitation, set_member_role, write_config
Organization:InvalidArgument

The request or continuation token is invalid.

400 INVALID_ARGUMENTreasoncreate_organization, create_portal_link, deactivate_member, invite_member, list_invitations, list_members, list_memberships, read_config, read_identity, resend_invitation, revoke_invitation, set_member_role, write_config
Organization:LimitReached

An account limit prevents this operation.

412 FAILED_PRECONDITIONreasoncreate_organization, create_portal_link, deactivate_member, invite_member, list_invitations, list_members, list_memberships, read_config, read_identity, resend_invitation, revoke_invitation, set_member_role, write_config
Organization:NotFound

The requested resource does not exist.

404 NOT_FOUNDresourcecreate_organization, create_portal_link, deactivate_member, invite_member, list_invitations, list_members, list_memberships, read_config, read_identity, resend_invitation, revoke_invitation, set_member_role, write_config

Projects

errorNameStatusParametersOperations
Project:Conflict

The operation conflicts with current state.

409 CONFLICTreasoncreate_project, delete_project, list_projects, read_presentation, read_project, save_presentation
Project:InvalidArgument

The request or continuation token is invalid.

400 INVALID_ARGUMENTreasoncreate_project, delete_project, list_projects, read_presentation, read_project, save_presentation
Project:LimitReached

An account limit prevents this operation.

412 FAILED_PRECONDITIONreasoncreate_project, delete_project, list_projects, read_presentation, read_project, save_presentation
Project:NotFound

The requested resource does not exist.

404 NOT_FOUNDresourcecreate_project, delete_project, list_projects, read_presentation, read_project, save_presentation

Scandal

errorNameStatusParametersOperations
Scandal:BudgetExceeded

The request exceeded its memory, response-size or execution-time budget. Narrow it with a filter, a smaller `k` or `maxGroups`, or fewer or narrower columns before retrying.

400 INVALID_ARGUMENTmessageAttach columns to a file, Delete rows by row ID, Evaluate a projection, Patch rows, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Take rows by position, Upload a blob part, Write a mirrored file
Scandal:Conflict

The write conflicts with the Table's state.

409 CONFLICTmessageAppend rows, Attach columns to a file, Complete a blob upload, Delete rows by row ID, Finalize a write, Patch rows, Write a mirrored file
Scandal:Internal

The service failed. Over HTTP, the message does not describe the cause.

500 INTERNALmessageAbort a blob upload, Append rows, Attach columns to a file, Type a projection, Complete a blob upload, Delete rows by row ID, Evaluate a projection, Finalize a write, List functions, Pack blobs, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file, Write a blob
Scandal:InvalidArgument

The request is not valid, or a scan or expression cannot run as asked.

400 INVALID_ARGUMENTmessageAbort a blob upload, Append rows, Attach columns to a file, Type a projection, Complete a blob upload, Delete rows by row ID, Evaluate a projection, Finalize a write, Pack blobs, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file, Write a blob
Scandal:NotFound

The Table version, file or blob does not exist.

404 NOT_FOUNDresourceAppend rows, Attach columns to a file, Complete a blob upload, Delete rows by row ID, Finalize a write, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file
Scandal:PermissionDenied

Storage refused the access that the request carries.

403 PERMISSION_DENIEDoperation, resourceAbort a blob upload, Append rows, Attach columns to a file, Complete a blob upload, Delete rows by row ID, Evaluate a projection, Finalize a write, Pack blobs, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file, Write a blob
Scandal:StorageUnavailable

The table's storage connection failed or timed out. Retry the read; if it keeps failing, ask your administrator to check storage connectivity. The message omits provider diagnostics.

500 INTERNALmessageRead legacy table rows, Search vectors
Scandal:Unauthenticated

The request has no valid ScanDAL capability. Get one by exchanging a Spiral access token for the resource `https://scandal.spiraldb.dev`.

401 UNAUTHENTICATEDmessageAbort a blob upload, Append rows, Attach columns to a file, Type a projection, Complete a blob upload, Delete rows by row ID, Evaluate a projection, Finalize a write, List functions, Pack blobs, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file, Write a blob
Scandal:Unavailable (retryable)

The replica is serving as many requests as its memory admits and started no work. Retry after the response's `Retry-After` seconds.

503 UNAVAILABLEmessageAbort a blob upload, Append rows, Attach columns to a file, Type a projection, Complete a blob upload, Delete rows by row ID, Evaluate a projection, Finalize a write, List functions, Pack blobs, Patch rows, Plan changes between versions, Plan a scan, Read a blob, Read legacy table rows, Read a split, Search vectors, Start a blob upload, Inspect a blob, Take rows by position, Upload a blob part, Write a mirrored file, Write a blob

Sql

errorNameStatusParametersOperations
Sql:Internal

The query failed unexpectedly. The message does not expose internal details.

500 INTERNALmessageStream a SQL query
Sql:InvalidArgument

The statement, snapshot or parameters are invalid or unsupported.

400 INVALID_ARGUMENTmessageStream a SQL query
Sql:NotFound

The Project, commit or a referenced resource does not exist.

404 NOT_FOUNDresourceStream a SQL query
Sql:PermissionDenied

A resource service or the host's local storage policy refused access needed by the query.

403 PERMISSION_DENIEDresourceStream a SQL query
Sql:RequestTooLarge

The encoded JSON request exceeds the host's request-size limit.

413 REQUEST_ENTITY_TOO_LARGEmessageStream a SQL query
Sql:Timeout

The query exceeded its deadline.

504 TIMEOUTmessageStream a SQL query
Sql:Unauthenticated

The caller's bearer credential is missing, invalid or expired.

401 UNAUTHENTICATEDmessageStream a SQL query
Sql:Unavailable (retryable)

The host cannot admit another query. No query execution has started.

503 UNAVAILABLEmessageStream a SQL query

Storage

errorNameStatusParametersOperations
Storage:Conflict409 CONFLICTreasonList mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status
Storage:InvalidArgument400 INVALID_ARGUMENTreasonList mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status
Storage:LimitReached412 FAILED_PRECONDITIONreasonList mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status
Storage:NotFound404 NOT_FOUNDresourceList mounts, List volumes, Read mount, Read project storage, Register volume, Remove mount, Select project storage, Test volume, Update volume credential, Update volume status

Tables

errorNameStatusParametersOperations
Tables:Conflict409 CONFLICTreasoncreate_table, create_version, read_version, storage_access, storage_binding
Tables:InvalidArgument400 INVALID_ARGUMENTreasoncreate_table, create_version, read_version, storage_access, storage_binding
Tables:NotFound404 NOT_FOUNDresourcecreate_table, create_version, read_version, storage_access, storage_binding

Tasks

errorNameStatusParametersOperations
Tasks:Conflict409 CONFLICTreasonCancel task in a project, Cancel task, Create task, Create trigger, Delete trigger, List task specs, List tasks, List trigger invocations, List triggers, Read task in a project, Read resource usage, Read task, Read task stats, Read trigger, Run trigger, Submit task, Test trigger, Update trigger
Tasks:InvalidArgument400 INVALID_ARGUMENTreasonCancel task in a project, Cancel task, Create task, Create trigger, Delete trigger, List task specs, List tasks, List trigger invocations, List triggers, Read task in a project, Read resource usage, Read task, Read task stats, Read trigger, Run trigger, Submit task, Test trigger, Update trigger
Tasks:LimitReached412 FAILED_PRECONDITIONreasonCancel task in a project, Cancel task, Create task, Create trigger, Delete trigger, List task specs, List tasks, List trigger invocations, List triggers, Read task in a project, Read resource usage, Read task, Read task stats, Read trigger, Run trigger, Submit task, Test trigger, Update trigger
Tasks:NotFound404 NOT_FOUNDresourceCancel task in a project, Cancel task, Create task, Create trigger, Delete trigger, List task specs, List tasks, List trigger invocations, List triggers, Read task in a project, Read resource usage, Read task, Read task stats, Read trigger, Run trigger, Submit task, Test trigger, Update trigger
Tasks:NotImplemented412 FAILED_PRECONDITIONreasonCancel task in a project, Cancel task, Create task, Create trigger, Delete trigger, List task specs, List tasks, List trigger invocations, List triggers, Read task in a project, Read resource usage, Read task, Read task stats, Read trigger, Run trigger, Submit task, Test trigger, Update trigger

Vector-indexes

errorNameStatusParametersOperations
VectorIndexes:Conflict409 CONFLICTreasonbegin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding
VectorIndexes:InvalidArgument400 INVALID_ARGUMENTreasonbegin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding
VectorIndexes:NotFound404 NOT_FOUNDresourcebegin_version, create_vector_index, read_version, revise_definition, seal_version, storage_access, storage_binding

Worker-pools

errorNameStatusParametersOperations
Workers:Conflict409 CONFLICTreasonDisable managed workers, Enable managed workers, Read managed workers
Workers:InvalidArgument400 INVALID_ARGUMENTreasonDisable managed workers, Enable managed workers, Read managed workers
Workers:LimitReached412 FAILED_PRECONDITIONreasonDisable managed workers, Enable managed workers, Read managed workers
Workers:NotFound404 NOT_FOUNDresourceDisable managed workers, Enable managed workers, Read managed workers
Tasks:Conflict409 CONFLICTreasonActivate worker pool, Create worker pool, List worker attempts, List worker pools, List worker sessions, Pause worker pool, Read worker pool, Read worker session, Retire worker pool
Tasks:InvalidArgument400 INVALID_ARGUMENTreasonActivate worker pool, Create worker pool, List worker attempts, List worker pools, List worker sessions, Pause worker pool, Read worker pool, Read worker session, Retire worker pool
Tasks:LimitReached412 FAILED_PRECONDITIONreasonActivate worker pool, Create worker pool, List worker attempts, List worker pools, List worker sessions, Pause worker pool, Read worker pool, Read worker session, Retire worker pool
Tasks:NotFound404 NOT_FOUNDresourceActivate worker pool, Create worker pool, List worker attempts, List worker pools, List worker sessions, Pause worker pool, Read worker pool, Read worker session, Retire worker pool
Tasks:NotImplemented412 FAILED_PRECONDITIONreasonActivate worker pool, Create worker pool, List worker attempts, List worker pools, List worker sessions, Pause worker pool, Read worker pool, Read worker session, Retire worker pool

Workloads

errorNameStatusParametersOperations
Workloads:Conflict

The operation conflicts with current state.

409 CONFLICTreasonadd_key, create_policy, create_workload, deactivate_workload, list_keys, list_policies, list_workloads, read_workload, remove_key, remove_policy, revoke_credentials
Workloads:InvalidArgument

The request or continuation token is invalid.

400 INVALID_ARGUMENTreasonadd_key, create_policy, create_workload, deactivate_workload, list_keys, list_policies, list_workloads, read_workload, remove_key, remove_policy, revoke_credentials
Workloads:LimitReached

An account limit prevents this operation.

412 FAILED_PRECONDITIONreasonadd_key, create_policy, create_workload, deactivate_workload, list_keys, list_policies, list_workloads, read_workload, remove_key, remove_policy, revoke_credentials
Workloads:NotFound

The requested resource does not exist.

404 NOT_FOUNDresourceadd_key, create_policy, create_workload, deactivate_workload, list_keys, list_policies, list_workloads, read_workload, remove_key, remove_policy, revoke_credentials
Found a problem? Edit this page or report an issue.