Error:
[2025-04-01 21:54:05] [getCandidates] Message: Failed to send email to ID: [837612] Name: [Tom Smith] Email: [xxxx.xxxx@xxx.xxx] ERROR: [HTTP/1.1 100 ContinueHTTP/1.1 400 Bad RequestTransfer-Encoding: chunkedContent-Type: application/jsonContent-Encoding: gzipVary: Accept-EncodingStrict-Transport-Security: max-age=31536000request-id: d399e790-f27d-4778-986d-2b3c033c67a4client-request-id: d399e790-f27d-4778-986d-2b3c033c67a4x-ms-ags-diagnostic: {“ServerInfo”:{“DataCenter”:”North Europe”,”Slice”:”E”,”Ring”:”4″,”ScaleUnit”:”003″,”RoleInstance”:”DB1PEPF0001F9C8″}}Date: Tue, 01 Apr 2025 20:54:04 GMT{“error”:{“code”:”BadRequest”,”message”:”Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.”,”innerError”:{“date”:”2025-04-01T20:54:05″,”request-id”:”d399e790-f27d-4778-986d-2b3c033c67a4″,”client-request-id”:”d399e790-f27d-4778-986d-2b3c033c67a4″}}}
Solution:
This email response is typically due to the content of the email and Microsoft rejects this.
We often see this issue if the text has been copied from an application such as Word.
If you are able to put the text into something like notepad to remove all formatting and then add the formatting in CentricFlow, this should resolve the error.