Skip to main content

Errors

DVS uses a standard error envelope:

{
"error_code": "071-403-document-type-not-allowed",
"message": "Provider does not have access to the requested document type",
"additional_information": {
"document_type": "OPME",
"country_code": "BR",
"agreement_code": "BRADESCO_xxx"
}
}

Catalog

4xx — Client errors

Statuserror_codeMeaning
400071-400Generic bad request
401071-401Missing or invalid Bearer token
403071-403Lacks required authority
403071-403-document-type-not-allowedNo access to the requested (document_type, country, agreement)
403071-403-tenant-mismatchCross-tenant access attempt
403071-403-classifier-not-allowedRequested classifier_slug not available to your tenant
404071-404Resource not found
404071-404-no-rules-configuredNo rule set exists for the document type
409071-409Conflict (generic)
409071-409-idempotency-mismatchSame Idempotency-Key with a different body
413071-413-file-too-largeInline file exceeds size limit
422071-422Validation error (Pydantic)
422071-422-unknown-document-typedocument_type not in catalog
422071-422-agreement-requiredMultiple agreements available; specify one
422071-422-ssrf-blockedExternal URL blocked by security policy
422071-422-mime-not-allowedMIME type not in allowlist
422071-422-s3-url-not-allowedS3 URL not in allowlisted bucket
429071-429Rate or quota limit exceeded

5xx — Server errors

Statuserror_codeMeaning
500071-500Unexpected internal error
500071-500-no-default-classifierConfig invalid for your tenant — contact OSIGU
502071-502-classifier-upstreamClassification engine upstream failed after retries
502071-502-extraction-failedDocument extraction failed after upstream retries
503071-503-globally-pausedGlobal circuit breaker is active
503071-503-extraction-pausedExtraction hourly cap reached
504071-504-sync-timeoutSync request exceeded processing budget; poll for result

Retry strategy

See Handle Errors for the full retry policy.