{"errors":[{"id":"500","title":"Servlet execution threw an exception"}]}

{"errors":[{"id":"500","title":"Servlet execution threw an exception"}]}

Here's the call to move a file to trash. The resource_id is accurate and the file is present.
  1. header = Map();
  2. header.put("Accept","application/vnd.api+json");
  3. data = Map();
  4. data_param1 = Map();
  5. att_param1 = Map();
  6. att_param1.put("status",51);
  7. data_param1.put("attributes",att_param1);
  8. data_param1.put("type","files");
  9. data.put("data",data_param1);
  10. response = invokeurl
  11. [
  12. url :"https://www.zohoapis.com/workdrive/api/v1/files/" + resource_id
  13. type :PATCH
  14. parameters:data.toString()
  15. headers:header
  16. connection:"workdrive_all"
  17. ];
  18. info response;
The response, some of the time, is
  1. {"errors":[{"id":"500","title":"Servlet execution threw an exception"}]}

Sometimes it works.

Sometimes it does not.

I'll post more, in the form of a screen recording, if necessary.

Insights please and thank you.



    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 コンテンツ




                              ご検討中の方