401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Server: nginx [2] => Date: Sun, 24 Nov 2024 11:24:46 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=600; includeSubDomains [12] => [13] => ) {"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: Sun, 24 Nov 2024 11:24:46 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=600; includeSubDomains [14] => [15] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}