Applies to Export Report (POST /v1/report/export) and Query Report (POST /v1/report/query). The legacy task-query operation is outside this public API reference. Check the top-level code and success, including on HTTP 200. Messages below are representative examples; the Gateway may use a generic English description. Use codes for programmatic handling. Shared authentication, IP allowlist, and resource permission errors retain their existing codes; see Common Errors.

Request and dependency errors

These codes cover export and report-ID query operations. An individual operation returns only the codes applicable to its processing stage. Dependency failures and null data must not be treated as successful empty results.

Asynchronous generation failures

An accepted export usually returns data.status=PROCESSING. Query by report_id to obtain the final status. If generation fails, the query call remains successful: the top-level success is true, while data.status is FAILED. Inspect data.fail_code and data.fail_reason for generation details. Example response fragment for a successful query of a failed report:
Failure reasons use fail_reason, not fail_message. Missing reasons are not replaced with generated text. Historical failed tasks with EXPORT_FAILED or no failure code are mapped to report_export_failed in responses without rewriting historical records. Internal exception stacks are not returned as public failure reasons.