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
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.