message succcesssarray(4) { ["success"]=> bool(false) ["error"]=> string(83) "Expected a 200 response from the Twilio API. Received 'HTTP/1.1 401 Unauthorized'." ["errorcode"]=> string(30) "unexpected_twilio_api_response" ["info"]=> array(19) { ["success"]=> bool(true) ["rawsendsize"]=> int(598) ["rawsendheadersize"]=> int(525) ["rawrecvsize"]=> int(1125) ["rawrecvheadersize"]=> int(1018) ["startts"]=> float(1729579433.9906) ["connected"]=> float(1729579434.0455) ["sendstart"]=> float(1729579434.0455) ["recvstart"]=> float(1729579434.0456) ["response"]=> array(4) { ["line"]=> string(25) "HTTP/1.1 401 Unauthorized" ["httpver"]=> string(8) "HTTP/1.1" ["code"]=> string(3) "401" ["meaning"]=> string(12) "Unauthorized" } ["headers"]=> array(22) { ["Content-Type"]=> array(1) { [0]=> string(16) "application/json" } ["Content-Length"]=> array(1) { [0]=> string(3) "107" } ["Connection"]=> array(1) { [0]=> string(5) "close" } ["Date"]=> array(1) { [0]=> string(29) "Tue, 22 Oct 2024 06:43:54 GMT" } ["X-Powered-By"]=> array(1) { [0]=> string(7) "AT-5000" } ["X-Twilio-Error-Code"]=> array(1) { [0]=> string(5) "20003" } ["Twilio-Request-Id"]=> array(1) { [0]=> string(34) "RQ657beec1c0c859802e8bc29aea30f34f" } ["Twilio-Request-Duration"]=> array(1) { [0]=> string(5) "0.016" } ["X-Home-Region"]=> array(1) { [0]=> string(3) "us1" } ["X-Api-Domain"]=> array(1) { [0]=> string(14) "api.twilio.com" } ["Strict-Transport-Security"]=> array(1) { [0]=> string(16) "max-age=31536000" } ["Www-Authenticate"]=> array(1) { [0]=> string(24) "Basic realm="Twilio API"" } ["Access-Control-Allow-Origin"]=> array(1) { [0]=> string(1) "*" } ["Access-Control-Allow-Headers"]=> array(1) { [0]=> string(154) "Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Idempotency-Key, X-Pre-Auth-Context, X-Target-Region" } ["Access-Control-Allow-Methods"]=> array(1) { [0]=> string(38) "GET, POST, PATCH, PUT, DELETE, OPTIONS" } ["Access-Control-Expose-Headers"]=> array(1) { [0]=> string(23) "ETag, Twilio-Request-Id" } ["Access-Control-Allow-Credentials"]=> array(1) { [0]=> string(4) "true" } ["X-Shenanigans"]=> array(1) { [0]=> string(4) "none" } ["X-Cache"]=> array(1) { [0]=> string(21) "Error from cloudfront" } ["Via"]=> array(1) { [0]=> string(64) "1.1 e55a04e69229dbc3be32ad97f72ae3e2.cloudfront.net (CloudFront)" } ["X-Amz-Cf-Pop"]=> array(1) { [0]=> string(8) "MXP63-P2" } ["X-Amz-Cf-Id"]=> array(1) { [0]=> string(56) "6VXy0Wa-B5HRoFn5V9KIBxSfmgQlK8yJ5E1FF9e-9gk0KGmO1J9Kzg==" } } ["body"]=> string(107) "{"code":20003,"message":"Authenticate","more_info":"https://www.twilio.com/docs/errors/20003","status":401}" ["endts"]=> float(1729579434.202) ["url"]=> string(91) "https://api.twilio.com/2010-04-01/Accounts/ACaf5433d384b2d0223c3a39226345fb20/Messages.json" ["options"]=> array(4) { ["headers"]=> array(5) { ["Accept"]=> string(37) "text/html, application/xhtml+xml, */*" ["Accept-Language"]=> string(14) "en-us,en;q=0.5" ["Cache-Control"]=> string(9) "max-age=0" ["User-Agent"]=> string(78) "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" ["Authorization"]=> string(98) "Basic QUNhZjU0MzNkMzg0YjJkMDIyM2MzYTM5MjI2MzQ1ZmIyMDplMmE2OWQwMmVhOTg5YTE5YTA1YzY5YTU4NzY5ODQwNg==" } ["method"]=> string(4) "POST" ["postvars"]=> array(3) { ["From"]=> string(12) "+18038873687" ["To"]=> string(12) "+14129999823" ["Body"]=> string(30) "SMS TEsting from Mechknowsoft." } ["streamtimeout"]=> int(300) } ["firstreqts"]=> float(1729579433.9903) ["numredirects"]=> int(0) ["redirectts"]=> float(1729579433.9903) ["totalrawsendsize"]=> int(598) } }