calculation_transition_invalid
The calculation's state does not allow this action
Status: 409 Conflict
type: https://api.allisai.ai/errors/calculation_transition_invalid
When it is sent
Validate, publish or reopen from a state the calculation lifecycle does not allow, including the state the calculation is already in. Only a draft can be validated, and only a validated calculation can be published or reopened. Read the calculation to see its state.
Example
{
"type": "https://api.allisai.ai/errors/calculation_transition_invalid",
"title": "The calculation's state does not allow this action",
"status": 409,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "calculation_transition_invalid",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}
Operations that return it
- Validate a calculation (
validateCalculation) - Publish a calculation (
publishCalculation) - Reopen a calculation (
reopenCalculation)