401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Server: nginx [2] => Date: Fri, 14 Mar 2025 18:58:57 GMT [3] => Content-Type: application/json [4] => Content-Length: 88 [5] => Connection: keep-alive [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] => Server: nginx [4] => Date: Fri, 14 Mar 2025 18:58:58 GMT [5] => Content-Type: application/json [6] => Content-Length: 88 [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":"Permission denied, wrong credentials","field":null,"help":null}]}