Test document generation APIs · Base URL: https://localhost:8443
| Code | HTTP | Meaning |
|---|---|---|
UNAUTHENTICATED | 401 | No signed-in session and no API key β use the tester while logged in, or send Authorization: Bearer <key> |
INVALID_API_KEY | 401 | Bearer key not recognised |
API_KEY_REVOKED | 401 | Bearer key has been revoked |
IP_NOT_ALLOWED | 403 | Caller IP is not in the key's allow-list |
RATE_LIMIT_EXCEEDED | 429 | Key's requests-per-minute limit hit |
FIELDS_NOT_MATCHING | 400 | The mapping file refers to fields/columns not present in the document or data file |
SUBSCRIPTION_EXPIRED | 400 | Your plan has expired |
QUOTA_EXCEEDED | 400 | Not enough documents left in your plan for this request |
NO_SUBSCRIPTION | 400 | Your company has no active subscription |
MISSING_DOCUMENT | 400 | No document file attached |
MISSING_DATA_FILE | 400 | No data file attached (API 1) |
MISSING_MAPPING_FILE | 400 | No mapping file attached |
MISSING_JSON_DATA | 400 | jsonData field is empty (API 2) |
INVALID_DOCUMENT_TYPE | 400 | Document is not .pdf or .docx |
INVALID_DATA_FILE_TYPE | 400 | Data file is not .xlsx, .xls or .json |
INVALID_MAPPING_FILE | 400 | Mapping JSON is invalid or has no fieldMappings |
DATA_PARSE_ERROR | 400 | Excel/JSON data file could not be parsed |
EMPTY_DATA | 400 | Data file has no rows |
INVALID_JSON_DATA | 400 | jsonData string is not valid JSON (API 2) |
EMPTY_JSON_DATA | 400 | jsonData parses to zero records (API 2) |
INTERNAL_ERROR | 400 | Unexpected server-side error |