401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Date: Fri, 18 Sep 2026 00:27:49 GMT [2] => Content-Type: application/json [3] => Content-Length: 88 [4] => Connection: keep-alive [5] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl [6] => Access-Control-Allow-Methods: POST [7] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io [8] => Access-Control-Max-Age: 600 [9] => Cache-Control: no-cache [10] => Content-Security-Policy: frame-ancestors 'none' [11] => Referrer-Policy: strict-origin-when-cross-origin [12] => Strict-Transport-Security: max-age=31536000; includeSubDomains [13] => X-Content-Type-Options: nosniff [14] => X-No-Cors-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html [15] => [16] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]} 401 Array ( [0] => HTTP/1.1 100 Continue [1] => [2] => HTTP/1.1 401 Unauthorized [3] => Date: Fri, 18 Sep 2026 00:27:49 GMT [4] => Content-Type: application/json [5] => Content-Length: 88 [6] => Connection: keep-alive [7] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl [8] => Access-Control-Allow-Methods: POST [9] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io [10] => Access-Control-Max-Age: 600 [11] => Cache-Control: no-cache [12] => Content-Security-Policy: frame-ancestors 'none' [13] => Referrer-Policy: strict-origin-when-cross-origin [14] => Strict-Transport-Security: max-age=31536000; includeSubDomains [15] => X-Content-Type-Options: nosniff [16] => X-No-Cors-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html [17] => [18] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}