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?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.