APIs & Integrations

okonig
Member

List command in contacts API returns null values for custom fields

SOLVE

When I create a custom field and change some values in contacts and use the list command of the contacts API (and listing my fields in the properties parameter) to retrieve this information, all my custom fields return null values for all contacts. It recognizes the field was created since it starts to show up in the JSON response, however. When using the read command to get these fields for a single contact, these values are returned properly (non-null where they have been changed). How can I retrieve this information for all contacts?

1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

List command in contacts API returns null values for custom fields

SOLVE

@okonig , Could you also include your get request URI here as well so we can debug?

View solution in original post

0 Upvotes
3 Replies 3
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

List command in contacts API returns null values for custom fields

SOLVE

@okonig , Could you also include your get request URI here as well so we can debug?

0 Upvotes
okonig
Member

List command in contacts API returns null values for custom fields

SOLVE

Thanks @dennisedson, but I have managed to solve the problem myself. Cheers!

 

Oscar

 

 

CarBelt
Participant

List command in contacts API returns null values for custom fields

SOLVE

Do you remember what was the solution for this issue?

0 Upvotes