Reputation: 77
In my application, an HTML file exist in AZURE BLOB. I try to pull the Html file from the blob and the file is sent with sendgrid to given email. The scenario works fine on locally, but sendgrid throws the exception on published code. Have you any idea about this issue?
Upvotes: 0
Views: 613
Reputation: 20127
It turns out that there is a known bug in Sendgrid
. If the html content entered is very big, the correct error message will not be sent. Then this error will show up instead of Unauthorized. When I changed my html into one much smaller, this gave me the correct error.
Read more about the issue here.
Upvotes: 1