All articles

What the "An Error occurred, but the error response could not be deserialized" error means

Developers·September 3, 2016·By Ajay Goel·1 min read
If you’ve sent a Gmail mail merge campaign with SendHustle and were notified that this error was generated while sending to your email addresses:

An Error occurred, but the error response could not be deserialized

you might be perplexed, since the error doesn’t provide any actionable information. This is an error that is generated by the Gmail API when SendHustle connects to your Gmail account to send your mail merge campaign. While there’s not much information available from Gmail as to the cause of this error, we’ve found that the usual cause is the user of large attachments or inline images.

Gmail states that emails can be up to 25MB in size, and SendHustle places a further size limit of 12MB per individual email message, but still, Gmail may generate this error even if you are under both of these limits. The solution is to simply reduce the size of your email, either by shrinking your inline images, host your images and refer to them relatively in your HTML code, or by reducing the size of or eliminating attachments.

This Stack Overflow article corroborates our theory about this error.

Email marketing, cold email, and mail merge inside Gmail


Send incredible emails & automations and avoid the spam folder — all in one powerful but easy-to-learn tool


TRY SendHustle FOR FREE

Download Chrome extension - 30 second install!
No credit card required
Love what you're reading? Get the latest email strategy and tips & stay in touch.

Send your next campaign from Gmail

SendHustle brings mail merge, follow-ups, and tracking right into the inbox you already use.

Start free