Freshcaller REST API - 422 HTTP error

Hello,

We are using Freshcaller API to switch our agents online/offline. It was working perfectly, but a few days ago we received an error from the API server and I am almost sure we haven’t changed anything in the request. Since then it has not worked.

This is the request in CURL

    curl --location --request PUT 'https://<account-name>.freshcaller.com/api/v1/users/91145' \
    --header 'X-Api-Auth: XXXXXXX' \
    --header 'Accept: application/json' \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "mobile_app_preference": 459858,
    "status_type": "online"
    }'

And the response is: 422 Unprocessable Entity

    {
    "error_type": "param_validation_failed",
    "message": "Validation failed: Bundle The Bundle is blank"
    }

Thank you in advance for your help!