smsgatewayme / client-php

PHP Client for smsgateway.me
26 stars 32 forks source link

403 Error #26

Open daniel-lucio opened 3 years ago

daniel-lucio commented 3 years ago

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~

I have already changed my authkey for the sake of my own security.

What am I missing?

daniel-lucio commented 3 years ago

Fixed,

Device ID is not the 1,2,3, it is actually the ID taken from the console