APIs & Integrations

UriBishansky
Member

Contacts API - Foreign Languages

Hi,
Whenever we try to Create/Update a contact using the API to a contact whois name/last name is in foreign language, we get a 400 Bad Request error.

How should we encode that? or deal with the issue?

Thanks!

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Contacts API - Foreign Languages

Hi @UriBishansky,

That would do it! Thanks for updating the thread with your solution.

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Contacts API - Foreign Languages

Hi @UriBishansky,

Could you give me an example of a request that failed due to the last name?

0 Upvotes
UriBishansky
Member

Contacts API - Foreign Languages

Hey @Derek_Gervais,
We found the problem, we changed the Encoding to UTF-8 and now it works well.

Thanks!

0 Upvotes