CNCoreNova Docs

Stable error contract

Error codes

HTTP errors include a stable machine-readable code and a link back to this page. A task that fails asynchronously returns the error inside its task response.

{
  "error": {
    "code": "unsupported_file",
    "message": "Use a .doc, .ppt, or .xls file.",
    "docs_url": "https://docs.corenovacloud.com/legacy-office-upgrade-api/errors/#unsupported-file"
  }
}
CodeMeaningRetry
missing_api_keyBearer credential was not provided.Fix request
invalid_api_keyCredential is unknown or rotated.Register again
subscription_pending_or_inactiveThe Marketplace license is not active.After activation
unsupported_media_typeRequest is not multipart form data.Fix request
invalid_multipartMultipart body or boundary is invalid.Fix request
invalid_file_fieldExactly one field named file is required.Fix request
invalid_filenameFilename is empty, too long, or contains a path.Fix request
empty_fileThe uploaded file has no content.Fix request
file_too_largeThe file exceeds 4 MiB.Use a smaller file
unsupported_fileExtension is not DOC, PPT, or XLS.Fix request
invalid_idempotency_keyIdempotency key format is invalid.Fix request
idempotency_conflictThe same key was reused for different content.Use a new key
job_not_foundTask does not exist or belongs to another credential.No
not_ole_cfbThe file is not a valid legacy Office OLE/CFB container.No
external_workbook_referenceXLS references another workbook.No
database_formulaXLS contains a database formula that cannot be preserved reliably.No
submission_unavailableThe task could not be stored or queued.Yes, safely
conversion_failedAn unexpected conversion error occurred.Contact support