sms api 401 unauthorized

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

Anton Tananaev3 years ago

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

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 Tananaev3 years ago

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

Thank you, I made a mistake, all works!