Errors

Sixb errors include a stable code for programmatic handling and a message for display. Do not parse message text; tolerate unknown codes when connecting to a newer server.

API errors

Failed HTTP requests return an error message and, when available, a code. Browser client errors expose these as SixbApiError. Use isSixbApiError from @sixb/client to narrow an error before inspecting its code, status, or body.

Generated SDK functions reject when throwOnError: true is set; otherwise inspect their returned error. Typed query validation failures use SixbQueryError with an issues array.

Run failures

Failed runs include a failure record:

FieldMeaning
codeStable error identifier.
messageHuman-readable explanation.
retryableWhether retrying may help.
atFailure timestamp.
detailsOptional context, which may be redacted or truncated.
httpStatusOptional upstream HTTP status, not the status returned by Sixb.

A retryable failure does not guarantee that an operation with external effects can be repeated safely. Check the run and external system before retrying. Unclassified failures use internal.unexpected.

Messages include safe validation explanations and recognized upstream failures. Arbitrary exception messages and stacks stay private to onError; unclassified errors use a generic message.

To send failures to a monitoring service, configure onError.

Error catalog

CodeRetryableWhat happenedWhat to do
action.phase_failedNoAn Action phase could not complete successfully.Inspect details.phase and the native error reported to onError.
agent.execution_failedNoAn active Agent execution failed.Inspect the run identity and the native error reported to onError.
ai.usage_limit_exceededNoAn applicable AI usage limit has no capacity for another model call.Wait until details.resetAt, or raise or disable the applicable limit policy.
ai.usage_limit_unavailableYesSixb could not evaluate an applicable AI usage limit safely.Restore complete accounting or the limit storage provider, then retry.
connector.adapter_invalidNoA connector adapter returned data that violates its Sixb contract.Fix or upgrade the adapter before retrying.
connector.authorization_invalidNoAn OAuth connection run or authorization transition is no longer valid.Start a new connector connection run.
connector.authorization_requiredNoThe connection cannot provide credentials in its current state.Reauthorize the connector and select an account when requested.
connector.configuration_invalidNoConnector definitions, storage, or credential protection are misconfigured.Fix the connector runtime configuration and restart Sixb.
connector.credentials_unavailableNoStored connector credentials failed validation or authenticated decryption.Verify the encryption key and reauthorize affected connections.
connector.not_foundNoA connector definition, connection, authorization, or account was not found in the current project.Check the identifier or reconnect the account.
connector.operation_conflictNoConnector state changed incompatibly with the requested operation.Reload current connection state and start a new operation explicitly.
connector.operation_in_progressYesAnother process is safely mutating the same authorization credentials.Retry after the current credential operation finishes.
connector.provider_failedNoA provider operation failed or ended with an ambiguous outcome.Inspect the native cause; restart authorization when Sixb failed closed.
connector.provider_unavailableYesThe adapter guaranteed that a failed provider operation produced no external change.Retry the unchanged operation later.
connector.replacement_requiredNoAccount selection would replace the connection currently assigned to the slot.Confirm replacement, then retry selection with replace: true, or choose another slot.
connector.revocation_pendingYesLocal access is disconnected, but provider revocation has not been durably confirmed.Retry revocation; the operation is idempotent and local access remains closed.
dataset.not_foundNoDataset is unavailable to the caller.Check its ID and access policy.
dataset.version_incompatibleNoVersion does not match the required dataset or schema.Materialize a compatible version.
dataset.version_not_foundNoVersion does not exist or nothing has been committed yet.Check the ID or materialize the dataset.
dataset.version_read_inconsistentYesRead results conflict with immutable version metadata.Retry, then inspect lake storage integrity.
event.delivery_failedYesA persisted event could not reach the event stream.Let the outbox retry; inspect the broker if it persists.
internal.unexpectedNoThe exception has no specific code yet.Inspect its onError report and correlation details.
pipeline.step_failedNoA step failed before committing its output.Fix the cause and request a new pipeline run.
projection.definition_invalidNoProjection definition is invalid for its ontology or dataset.Fix the definition and request a new run.
projection.execution_failedNoProjection materialization failed permanently.Inspect the projection, pinned dataset version, and onError report.
projection.not_foundNoProjection is not registered.Check its ID and deployment.
projection.run_already_terminalNoDelivery targets a run that is already terminal.Use a new run ID for new work.
projection.run_identity_mismatchNoDelivery does not match the run's pinned identity.Discard it and dispatch from the current definition.
queue.enqueue_failedYesA job could not be handed to its queue.Retry the unchanged request while the durable run remains in its enqueue phase.
runtime.cancelledNoWork was cancelled before completion.Confirm the cancellation before requesting another run.
sync.execution_failedNoA Sync failed while reading, validating, or writing its dataset.Inspect the onError report, fix the source or data, then request a new run.
vector.model_unavailableNoThe profile's embedding model is unavailable or incompatible.Check model registration and dimensions, then index the profile again.
vector.response_invalidNoThe model returned unusable vectors.Check the provider response and profile dimensions before indexing again.
vector.outcome_unknownNoAn interrupted call may already have been billed.Inspect the provider outcome before explicitly indexing again.
webhook.delivery_failedYesA claimed webhook delivery failed retryably.Let the provider retry; inspect the handler if it persists.
webhook.delivery_rejectedNoA webhook handler returned a terminal non-success response.Inspect the handler response and provider payload before sending a new delivery.
workflow.node_failedNoA node failed during preparation or execution.Inspect its identity and the native error reported to onError.

Search docs

Search the documentation