In case someone finds it helpful: This error also happens if the request does contain the ids in a JSON body, but the headers don't specify the Content-Type: application/json header.
Content-Type: application/json