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
- {
- "ids": ["2194030000XXXXXXXX", "2194030000XXXXXXXX", "2194030000XXXXXXXX""],
- "fieldName": "contactId",
- "fieldValue": "2194030000XXXXXXXX"
- }
And here's the error I get in return:
- {
- "errorCode": "INVALID_DATA",
- "message": "The data is invalid due to validation restrictions",
- "errors": [{
- "fieldName": "/fieldName",
- "errorType": "invalid",
- "errorMessage": ""
- }
- ]
- }
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
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.