Reference · Error codes
Error: precondition_failed
A precondition of the operation is not met.
HTTP 412 · problem type: https://docs.gebsecure.com/errors/precondition_failed · title: precondition_failed
Common causes#
- A policy deployment blocked by failing tests or blocking conflicts: the deploy endpoint answers 412 with the deploy report (
deployed: false), which the SDKs return as a result instead of raising.
What to do#
- Fix the failing tests or conflicts listed in the deploy report and deploy again.
In the SDKs#
| SDK | Error type |
|---|---|
| TypeScript | ConflictError |
| Python | ConflictError |
| Go | ErrConflict |
| Java | ConflictException |
| .NET | ConflictException |
Every error response is RFC 9457 application/problem+json; see the error model.