APIs & Integrations

Not applicable

Update contact api works but get no response

I’m sending an http request to update a contact with:

https://api.hubapi.com/contacts/v1/contact/vid/XXX/profile?hapikey=XXX

and the contact is getting updated with the data i send but i get no 204 response just an empty string.

is this normal behavior?

Thank you

0 Upvotes
3 Replies 3
Not applicable

Update contact api works but get no response

Any input on the question above?

0 Upvotes
Not applicable

Update contact api works but get no response

The way I do it is with c# WebClient UploadString that should return a string response but the string I get is empty
Is there a way to get the response code even if its not in the body of the response?

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Update contact api works but get no response

Hi @Constantine_Bulichov

Are you getting a different status code from the response? Or not getting any response at all? A 204 response would not have any data in the response body so it’s possible that it could be interpreted as an empty string.

0 Upvotes