400 - Duplicate Custom Field
When I attempt to create a new project or opportunity using the api, I attempted to include the custom field payload, it gives me the following error:
400 Duplicate custom fields are not allowed. The following duplicates were detected:
My payload looks like this:
"CUSTOMFIELDS": [
{
"CUSTOM_FIELD_ID": "OPPORTUNITY_FIELD_25",
"FIELD_VALUE": "Yes"
},
]
As soon as I remove the CUSTOMFIELDS block, there are no errors and the project is successfully created.
What does this 400 error message mean?
Comments
Hi Lu,
This error means that there are multiple custom fields with the same ID of "OPPORTUNITY_FIELD_25". The API checks for duplication and throws that error.
Regards,
Kevin
Please sign in to leave a comment.