409 invalid_state
- HTTP status
- 409
- Code
invalid_state- Title
- Invalid state
- Meaning
- The campaign's state doesn't allow this action.
What to do
The campaign's state doesn't allow the action: only drafts can be scheduled, only sending campaigns paused, only paused campaigns resumed. GET /campaigns/{id} shows the current state.
Where it comes from
POST /v1/campaigns/{id}/schedulePOST /v1/campaigns/{id}/pausePOST /v1/campaigns/{id}/resumePOST /v1/campaigns/{id}/cancel
The response
Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.
{ "type": "https://docs.rhinorelay.com/api/errors/invalid-state/", "title": "Invalid state", "status": 409, "code": "invalid_state", "detail": "The campaign's state doesn't allow this action.", "requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"}