You’ll need to include the content-type: application/json header in your request. The current request has Content-Type"=>"application/x-www-form-urlencoded, which is causing that error.
We’re working on a fix for this so that you’ll get a 415 Unsupported Media Type error for this instead of the generic 500 when the content-type is incorrect.