Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Errors


Twilio supported SDKs

The Twilio SendGrid Web REST API v3 provides SDKs for seven different languages.

The SendGrid Web API v3 returns an error when your request is malformed or the server fails to process it. This page describes the error status codes you can receive and the format of failed responses.


Response Codes

response-codes page anchor
Status CodeDescription
400Bad request
401Requires authentication
403Too many bad requests. Temporary block
406Missing Accept header. For example: Accept: application/json
429Too many requests/Rate limit exceeded
500Internal server error

A failed request returns an errors array in the response body. Each entry identifies the field that caused the error and a message describing it.

GET https://api.sendgrid.com/v3/resource HTTP/1.1
1
HTTP/1.1 400 BAD REQUEST
2
Content-Type: application/json
3
4
{
5
"errors": [
6
{"field": "identifier1", "message": "error message explained"},
7
{"field": "identifier2", "message": "error message explained"},
8
{"field": "identifier3", "message": "error message explained"},
9
]
10
}