You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using SendGrid latest JAVA API's available to send emails. As part of attachment we are attaching a pdf enclosed in a zip file.
While sending mail we are getting 404 as response code and error message stating The attachment content must be base64 encoded
Complete Error Message: {"errors":[{"message":"The attachment content must be base64 encoded.","field":"attachments.0.content","help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.attachments.content"}]}
Wanted help if we are doing anything wrong and need more clarity how can we solve this issue.
Please find attached code snippet.
Complete Error Message: {"errors":[{"message":"The attachment content must be base64 encoded.","field":"attachments.0.content","help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.attachments.content"}]}
We are using SendGrid latest JAVA API's available to send emails. As part of attachment we are attaching a pdf enclosed in a zip file.
While sending mail we are getting 404 as response code and error message stating The attachment content must be base64 encoded
Complete Error Message: {"errors":[{"message":"The attachment content must be base64 encoded.","field":"attachments.0.content","help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.attachments.content"}]}
Wanted help if we are doing anything wrong and need more clarity how can we solve this issue.
Please find attached code snippet.
Code Snippet :
Error :
Complete Error Message: {"errors":[{"message":"The attachment content must be base64 encoded.","field":"attachments.0.content","help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.attachments.content"}]}
Using Maven Repo :
com.sendgrid
sendgrid-java
4.9.1
Sheet 1(1).zip
The text was updated successfully, but these errors were encountered: