Errors
DataPorch
Reference

Errors

Failure categories returned by discovery and query operations.

Failures have category, message, retryable, and optional database_error metadata. The message is for diagnosis; clients should branch on the category and retryable flag.

CategoryMeaningRetry?
invalid_requestRequired input is missing or malformed.No; fix the request.
invalid_cursorCursor is malformed, expired, or does not match the request.No; restart pagination.
source_not_foundSource ID is not configured.No; discover or configure the source.
unsupported_source_capabilityThe source does not provide the requested capability.No.
schema_not_foundExact schema does not exist or is not visible.No; rediscover.
relation_not_foundExact table/view does not exist or is not visible.No; rediscover.
unsupported_relation_kindThe selected relation kind cannot be queried by the adapter.No.
dataporch_access_deniedDataPorch authorization denied the operation.No.
database_permission_deniedThe database user lacks permission.No; change database grants.
database_unavailableThe database could not be reached or used.Yes, after checking health.
query_timeoutThe server-side query timeout elapsed.Sometimes; prefer a narrower query.
cancelledThe caller cancelled the operation.No; caller-controlled.
internalUnexpected runtime failure.No by default; inspect logs.

Database error details are bounded before being returned or logged. Do not treat the error message as a stable machine-readable API.