You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the example, put my own Key and my cellphone number as the destination. After turning the debug on, I always see a 403.
php74 test.php
[DEBUG] HTTP Request body BEGIN
[{"phone_number":"16138535080","message":"test1","device_id":1}] END
[DEBUG] HTTP Response body BEGIN
{"status":"fail","message":"Could not process request","data":{"exception":"Access Denied."}} END
About to connect() to smsgateway.me port 443 (#0)
Trying 142.93.107.113...
Connected to smsgateway.me (142.93.107.113) port 443 (#0)
Initializing NSS with certpath: sql:/etc/pki/nssdb
skipping SSL peer certificate verification
SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Connection #0 to host smsgateway.me left intact
PHP Fatal error: Uncaught SMSGatewayMe\Client\ApiException: [403] Error connecting to the API (https://smsgateway.me/api/v4/message/send) in /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/ApiClient.php:247
Stack trace:
#0 /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/Api/MessageApi.php(525): SMSGatewayMe\Client\ApiClient->callApi() Erorr client-php.git #1 /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/Api/MessageApi.php(459): SMSGatewayMe\Client\Api\MessageApi->sendMessagesWithHttpInfo() Callback parameters #2 /var/www/clients/client0/web102/private/smsgateway/test.php(30): SMSGatewayMe\Client\Api\MessageApi->sendMessages() smsGateway.php????? #3 {main}
thrown in /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/ApiClient.php on line 247
I have already changed my authkey for the sake of my own security.
I have followed the example, put my own Key and my cellphone number as the destination. After turning the debug on, I always see a 403.
php74 test.php
[DEBUG] HTTP Request body
BEGIN[{"phone_number":"16138535080","message":"test1","device_id":1}]
END[DEBUG] HTTP Response body
BEGIN{"status":"fail","message":"Could not process request","data":{"exception":"Access Denied."}}
END< HTTP/1.1 403 Forbidden
< Date: Tue, 07 Sep 2021 17:48:37 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Cache-Control: no-cache, private
< Transfer-Encoding: chunked
< Content-Type: application/json
<
PHP Fatal error: Uncaught SMSGatewayMe\Client\ApiException: [403] Error connecting to the API (https://smsgateway.me/api/v4/message/send) in /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/ApiClient.php:247
Stack trace:
#0 /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/Api/MessageApi.php(525): SMSGatewayMe\Client\ApiClient->callApi()
Erorr client-php.git #1 /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/Api/MessageApi.php(459): SMSGatewayMe\Client\Api\MessageApi->sendMessagesWithHttpInfo()
Callback parameters #2 /var/www/clients/client0/web102/private/smsgateway/test.php(30): SMSGatewayMe\Client\Api\MessageApi->sendMessages()
smsGateway.php????? #3 {main}
thrown in /var/www/clients/client0/web102/private/smsgateway/vendor/smsgatewayme/client/lib/ApiClient.php on line 247
I have already changed my authkey for the sake of my own security.
What am I missing?