APIs & Integrations

Not applicable

Create or update a group of contacts

We’ve been having problems with creating a group of contacts. We followed instructions here (https://developers.hubspot.com/docs/methods/contacts/batch_create_or_update) and copy pasted example json body, sent request and got 200 OK response but contacts weren’t created.

If we create contacts one by one like here (https://developers.hubspot.com/docs/methods/contacts/create_contact) everything fine.

Can you help us with a possibility to add the group of contacts?

Regards,
Ivanna

0 Upvotes
3 Replies 3
Dadams
HubSpot Employee
HubSpot Employee

Create or update a group of contacts

Hi @data-plum

Are you setting the content-type: application/json header in the request when you’re getting that 200 OK response?

0 Upvotes
Not applicable

Create or update a group of contacts

Everything is functioning correctly now, sorry.

Thant you a lot!

0 Upvotes
Not applicable

Create or update a group of contacts

Looks like this help but after request, I get this error. Refreshing didn’t
help

0 Upvotes