Hi All,
I’m trying to insert names with accented letters such as Sofía via the v3 API. I successfully inserted 14k contacts and only approx 30 failed, all have the accents so I’m pretty sure they are the problem.
Below is my request url (I XXed out the personal info and API key)
https://api.hubapi.com/crm/v3/objects/contacts/batch/create?hapikey=XXXXX
Content-Type
application/json
And Data
{“inputs”: [{ “properties”: { “company”: “”, “email”: “SXXXXX@gmail.com”, “firstname”: “Sofía”, “lastname”: “”, “phone”: “+6XXXXXXXXX”, “custom_lead_source”: “Mr Yum”, “marketing_guest_manual”: “true”, “website”: “” } }]}
And response
{“status”:“error”,“message”:“Invalid input JSON on line 1, column 225: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 1])”,“correlationId”:“d042b22e-eee2-4584-9179-dc04459d1122”}
Any advice on how to handle these charachters would be much appreciated!
Many thanks
Lorinda ![]()