On this page
Troubleshoot API Errors
Record the request time, method, path, HTTP status code, and any requestId or error code returned. Use the response to decide whether to retry.
Before submitting diagnostic materials, remove authentication headers, API keys, cookies, complete files, and unrelated business content.
Diagnose by Response
| Symptom | Check first | Next step |
|---|---|---|
| No response or TLS failure | DNS, official endpoint, certificate, network, and proxy | Check from the caller's network and keep certificate verification enabled. |
| 401 | Whether the credential is expired, revoked, or the wrong type | Have the credential owner authenticate again. Do not copy another person's token. |
| 403 | License, scope, execution identity, resource permissions, and digital employee permissions | Use the response and administrator logs to identify the cause. There may be causes other than sign-in failure. |
| 404 | Server version, path, whether the resource exists and is visible to the current identity | Use the contract for the target version. Do not infer endpoints from older pages. |
| 409 (legacy complete workspace snapshot) | Whether the workspace contains binaries or storage references to large files | If the compatibility limit applies, switch to the current version's workspace file retrieval method. |
| 429 | Request rate, concurrency, and retry information in the response | Back off as specified by the service. Avoid repeated rapid retries. |
| 5xx | Request correlation information and the status of the service and its dependencies | Keep the requestId for the administrator. Check the original request's outcome before retrying. |
The same HTTP status can originate from a gateway, the product API, the digital employee runtime, or an external model. Use the response and related logs to identify the affected layer. Consult each service's contract for version-specific error codes.
For version changes to employee package uploads, the legacy export interface, and workspace snapshots, see the v5.20.0 upgrade notes.
Requests with Side Effects
If a message send, file write, task execution, or plugin call fails, check whether the original request already produced a result. The service may complete a request after the caller times out.
Retrying a Request
Use the idempotency identifiers and retry behavior defined by the target endpoint. Avoid adding unsupported request headers or creating duplicate tasks.
Submit Diagnostic Materials
Use Report an Issue to prepare the server and client versions, redacted path and parameter structure, time and time zone, status code, existing correlation identifiers, and the expected and actual results. Then contact support.