Ardent uses standard HTTP status codes. Error responses include a detail field with a human-readable message.
Validation errors may include structured field details from the request validator.
Status codes
Long-running operation failures
For async work, the HTTP request may succeed while the operation later fails. Always poll the operation and inspect status and error:
Treat failed as terminal. Fix the cause and start a new operation or retry the supported CLI/API action.
Automation guidance
Never substitute a production database URL as a fallback when a branch URL is missing — fail loudly instead.
- Fail loudly when required IDs, operation IDs, or branch URLs are missing.
- Retry only temporary failures, and cap retries.
- Log request IDs or timestamps in your own systems so support can help correlate issues.