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.n
I have gone ahead and alerted our team in charge of this integration, so that they can review this issue further. I added your request to be informed as soon as this bug is addressed.
While I can't provide an ETA for when this issue might be resolved, we will reach out to you via email once it is.