问题
I have looked all over in their site and forums and wiki, but so far I have not been able to find an answer to this question.
Where can I find a list of SendGrid API error codes and messages?
Thanks
回答1:
Web API reference
Web API v3 reference
回答2:
https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html
This explains each of the errors or status codes raised.
if you get a 4xx, try with a different key with different permissions. if you get 2xx, you are done.if it's a 5xx, then there is problem/error on the server side.
Happy Hacking
来源:https://stackoverflow.com/questions/5227425/sendgrid-api-error-codes-and-messages