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?

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方