We're having an issue with sending emails via the Pardot API component. We receive the following error messages (not sure why different errors, but I've seen both):
Error parsing response. We got: "<html><body><h1>400 Bad request</h1>
Error parsing response. We got: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
The issue seems to relate to the size of the value in the html_content variable (this is the body of the email we’re trying to send.) Short messages (less than 8k characters) work, while anything longer fails.
I've used the Pardot API via CURL on the command line and have not had any errors, despite using the same variables and/or much larger messages.
Anyone have any ideas to work around this?
Best answer by steph.nView original