21220: the call isn't in a state that allows this (it has ended)
- HTTP status
- 400
- Where you see it
- HTTP
Why it happens
Updating a call that has already ended (400).
Status=canceledon a call that's already answered (400).Deleting a call's record while the call is still live, which answers 409 with this code.
What to do
Fetch the call to see its status.
The error body
{
"code": 21220,
"message": "the call isn't in a state that allows this (it has ended)",
"more_info": "https://docs.dongleswithwings.com/errors/21220",
"status": 400
}