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