Unable to bulk update tickets - INVALID_DATA /fieldName

Unable to bulk update tickets - INVALID_DATA /fieldName

Hi,

I'm having issues trying to bulk-update tickets using the API. I'm trying to update the contact owning the records, therefore I'm trying to change the "contactId" value for a given list of tickets.

Here's the request I sent and its body (values have been obfuscated): POST /api/v1/tickets/updateMany
  1. {
  2.     "ids": ["2194030000XXXXXXXX", "2194030000XXXXXXXX", "2194030000XXXXXXXX""],
  3.     "fieldName": "contactId",
  4.     "fieldValue": "2194030000XXXXXXXX"
  5. }
And here's the error I get in return:
  1. {
  2.     "errorCode": "INVALID_DATA",
  3.     "message": "The data is invalid due to validation restrictions",
  4.     "errors": [{
  5.             "fieldName": "/fieldName",
  6.             "errorType": "invalid",
  7.             "errorMessage": ""
  8.         }
  9.     ]
  10. }

What am I doing wrong? I literally just followed the documentation. I don't see why the "contactId" field would be invalid. I've checked it for typos several times and I still can't see anything abnormal.

Thanks for your help.

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




                              ご検討中の方