Trying to create a new customer in the sandbox environment using the SDK.
Here is the command:
Customer newCustomer = dataService.add(customer);
serialization format : json
compression format : gzip
The error is:
com.intuit.ipp.exception.FMSException: ERROR CODE:2010, ERROR MESSAGE:Request has invalid or unsupported property, ERROR DETAIL:Property Name:Invalid UTF-8 middle byte 0x6d specified is unsupported or invalid
The display name is "Rémi Belanger", it contains the eacute character, which is latin-supplement.
You can see from here that 0x6D is in fact the small letter "m", which is right after the "é" character. Would you say that only basic latin is supported ?
Trying to create a new customer in the sandbox environment using the SDK. Here is the command:
Customer newCustomer = dataService.add(customer);
serialization format : json compression format : gzipThe error is: com.intuit.ipp.exception.FMSException: ERROR CODE:2010, ERROR MESSAGE:Request has invalid or unsupported property, ERROR DETAIL:Property Name:Invalid UTF-8 middle byte 0x6d specified is unsupported or invalid
Request URI = https://sandbox-quickbooks.api.intuit.com/v3/company/4620816365212676460/customer?requestid=0a7f2655cd814ba8b063ce4e04474da4&minorversion=52& Http Method = POST Request Body = {"GivenName":"Rémi","FamilyName":"Belanger","DisplayName":"Rémi Belanger","PrimaryPhone":{"FreeFormNumber":"418-955-4748"},"AlternatePhone":{"FreeFormNumber":"388f999e32fc4635ba30ac4a647c2d"},"PrimaryEmailAddr":{"Address":"rembel81@gmail.com"}}
The following call in HTTPClientConnectionInterceptor.execute():
httpResponse = client.execute(target, httpRequest);
returns HttpResponseProxy{HTTP/1.1 400 Bad Request [Date: Tue, 22 Mar 2022 15:46:32 GMT, Content-Type: application/json, Content-Length: 251, Connection: keep-alive, intuit_tid: 1-6239ef57-12b393bc6e87cb646d9147e2, x-spanid: 3e3afe45-8dd2-40c2-a7fb-717f779d6600, x-amzn-trace-id: Root=1-6239ef57-12b393bc6e87cb646d9147e2, X-Content-Type-Options: nosniff, x-envoy-upstream-service-time: 400, Strict-Transport-Security: max-age=31536000, server: envoy] ResponseEntityProxy{[Content-Type: application/json,Content-Length: 251,Chunked: false]}}
The display name is "Rémi Belanger", it contains the eacute character, which is latin-supplement. You can see from here that 0x6D is in fact the small letter "m", which is right after the "é" character. Would you say that only basic latin is supported ?