Discussions
PATCH callcenters/operators/{user_id}/dutystatus 400 Error
7 months ago by Taylor Keller
Background
I was attempting to update a user to on_duty: false
but received an error message I haven't seen before. I could not find any differences between this user and others and was unable to find any documentation that would indicate what went wrong.
Request:
PATCH https://dialpad.com/api/v2/callcenters/operators/{user_id}/dutystatus
Response:
{
"error": {
"code": 400,
"errors": [
{
"domain": "global",
"message": "User is on a state that cannot be changed manually",
"reason": "badRequest"
}
],
"message": "User is on a state that cannot be changed manually"
}
}
Can you please provide some guidance on what is going on here.