sms api 401 unauthorized

Philippe Carrier 4 years ago

I have a 401 reply from my phone when trying to send a SMS via the app server.
Thank you in advance

Anton Tananaev 4 years ago

Are you talking about Traccar SMS gateway? Unauthorized means you are probably not using the key or using a wrong one.

Philippe Carrier 4 years ago

Thank you for replying so fast on sunday!
I talk about Traccar SMS gateway. I tried with the api key given by the application (8 chars). After first fail, I tried also with the long token. Both failed...

Anton Tananaev 4 years ago

You need to double-check everything. The error is pretty clear.

Philippe Carrier 4 years ago

Thank you, I made a mistake, all works!