Hello. We're unable to import an CSV via the Import API, or update users via the People api when they have a name with a non-ascii character.
For example, if we post this JSON to the People API:
{
"person": {
"email": "[email protected]",
"last_name": "José",
"first_name": "Böb",
"sex": "M",
"signup_type": 0,
"employer": "Dexter Labs",
"party": "P",
"registered_address": {
"state": "TX",
"country_code": "US"
}
}
}
we receive a 400 Bad Request response. Can you please advise?
Official response from Farz Sokhansanj
When sending your request please set the content type in the header to Charset=UTF-8. For example, this is what the full header would look like:
--header "Content-Type: application/json; Charset=UTF-8"
Share this post
Showing 2 reactions
Sign in with