Getting error "Property values were not valid" for hs_legal_basis

dixitaincsub
Member

I am trying to add a contact using API. But I am getting a "Property values were not valid" error in response. This error is for the hs_legal_basis field. So may I know what should be the correct format of hs_legal_basis field value?

0 Upvotes
1 Reply 1
RMones
Participant

Hi @dixitaincsub ,

 

When you are retreiving the schema of Contacts with the following endpoint (with GET):
https://api.hubapi.com/crm/v3/schemas/contacts

Search then for the properties element.
At that point search for hs_legal_basis and in the element of hs_legal_basis are the options for the property hs_legal_basis described.

Greets Ronald