Receiving "API request's body is either missing or incomplete." error

Receiving "API request's body is either missing or incomplete." error

Hi, I am attempting to call the Creator API V2 Delete Records function from a CRM function and receiving the error "
  • {"code":3020,"message":"API request's body is either missing or incomplete."}".

Below is a code snippet with some URL variables removed:
  1. criteria = Map();
  2. criteria.put("criteria", "(First_Name.contains(\"Test\"))");
  3. messages = Map();
  4. messages.put("message", true);
  5. messages.put("tasks", true);
  6. criteria.put("result", messages);
  7. info criteria.toString();

  8. response = invokeUrl [
  9.     url : "https://creator.zoho.com/api/v2/zoho_owner_name/creator_app_name/report/report_name"
  10.     type : DELETE
  11.     parameters : criteria.toString()
  12.     connection : "zoho_creator_auth"
  13. ];
  14. info response;
When I info my criteria, it seems to match what the documentation says to provide:
{
"criteria":"(First_Name.contains(\"Test\"))",
"result": {
"message":true,
"tasks":true
}
}

Any suggestions?