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