Hello
401
Array
(
[0] => HTTP/1.1 100 Continue
[1] =>
[2] => HTTP/1.1 401 Unauthorized
[3] => Server: nginx
[4] => Date: Sat, 26 Jul 2025 02:04:59 GMT
[5] => Content-Type: application/json
[6] => Content-Length: 116
[7] => Connection: keep-alive
[8] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io
[9] => Access-Control-Allow-Methods: POST
[10] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl
[11] => Access-Control-Max-Age: 600
[12] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html
[13] => Strict-Transport-Security: max-age=31536000; includeSubDomains
[14] => Content-Security-Policy: frame-ancestors 'none'
[15] => Cache-Control: no-cache
[16] => X-Content-Type-Options: no-sniff
[17] => Referrer-Policy: strict-origin-when-cross-origin
[18] =>
[19] =>
)
{"errors":[{"message":"The provided authorization grant is invalid, expired, or revoked","field":null,"help":null}]}
Response =