Discussions
code parameter in custom field isnt working
15 days ago by Bruno
the code parameter for custom fields in the leads/contacts/companies endpoint for adding custom fields to leads/contacts/companies nor the endpoint of adding the custom field to the entity type are working. I get error:
{'validation-errors': [{'request_id': '0', 'errors': [{'code': 'OnlyNull', 'path': 'code', 'detail': 'This value should be null.'}]}], 'title': 'Bad Request', 'type': 'https://httpstatus.es/400', 'status': 400, 'detail': 'Request validation failed'}
when the documentation says:
Field code that can be used to update the value of the field without passing the field ID in the request