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:
- criteria = Map();
- criteria.put("criteria", "(First_Name.contains(\"Test\"))");
- messages = Map();
- messages.put("message", true);
- messages.put("tasks", true);
- criteria.put("result", messages);
- info criteria.toString();
- response = invokeUrl [
- url : "https://creator.zoho.com/api/v2/zoho_owner_name/creator_app_name/report/report_name"
- type : DELETE
- parameters : criteria.toString()
- connection : "zoho_creator_auth"
- ];
- 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?