{"status":"error","message":"Invalid input JSON on line 1, column 39: Invalid UTF-8 middle byte 0x6f","correlationId":"e1c67327-1455-47a4-a525-ef136721f550"}
I copied the sample python API code for searching the contact objects. When I tried to run the same code in my Python file, it fails. It seems to work only with non-accented text strings, but strings with characters such as "ñ" and "Ê" cause it to fail. Am I missing something to make it work with accented characters?
For future googlers... I had this same problem, it's when your request isn't encoded in UTF-8.
ps. if you're using java, the default Charset depends on your JVM. On macOS it's UTF-8 but on appengine for example, it's US_ASCII. Therefore, don't rely on default, always choose the encoding. eg:
For future googlers... I had this same problem, it's when your request isn't encoded in UTF-8.
ps. if you're using java, the default Charset depends on your JVM. On macOS it's UTF-8 but on appengine for example, it's US_ASCII. Therefore, don't rely on default, always choose the encoding. eg: