I don't know if this is a bug or not, but I've tried integrating Mailjet, Postmark and WhatsApp for Business. A user submits a form, and one the form has been filled in, it takes those details and sends a WhatsApp or email to them.
None of these services seem to work, despite multiple attempts at getting it to rewrite how it has implemented it. They all seem to complain about a similar error, over and over:
Error in form submission: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at handleSubmit (/components/valuation-form)I can provide code if needed, but I've tried asking this many different ways, with multiple email APIs and it still consistently fails with an error like above.
I even provided it working code that I have running on Vercel, and it still seems to fail.