Discussions

Ask a Question
Back to All

PATCH callcenters/operators/{user_id}/dutystatus 400 Error

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.