Job - Play a job giving HTTP 400

We are facing issue while using the Play a Job API as mentioned here. But getting HTTP 400 with Unplayable Job. As per the API no body required. Below is response

{
    "message": "400 (Bad request) \"Unplayable Job\" not given"
}

URL - https://gitlab.com/api/v4/projects/XXXX/jobs/XXX/play

HTTP Method: POST

Am I missing something here. Need help on this.

Thanks,
Mithun