client_has_calculations
The client has validated or published calculations
Status: 409 Conflict
type: https://api.allisai.ai/errors/client_has_calculations
When it is sent
A client with a validated or published calculation cannot be deleted, because the calculation is an attested record. Set its status to churned instead.
Example
{
"type": "https://api.allisai.ai/errors/client_has_calculations",
"title": "The client has validated or published calculations",
"status": 409,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "client_has_calculations",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}
Operations that return it
- Delete a client (
deleteClient)