traccar sms api erro HttpSmsClient:96 < NotificatorSms:50

good morning guys . I've tried everything but the sms api tracer is in this error.

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Bad Request</pre> </body> </html> - MessageException (HttpSmsClient:96 < NotificatorSms:50 < NotificationResource:96 < ...)

Version traccar 5.5

my configuratin in the traccar.xml

    <entry key='notificator.types'>web,mail,sms</entry>
    <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
    <entry key='sms.http.url'>https://www.traccar.org/sms/</entry>
    <entry key='sms.http.authorization'>*******</entry>
    <entry key='sms.http.template'>
        {
            "to": "{phone}",
            "message": "{message}",
            "from": "{contact}"
        }
    </entry>
Anton Tananaev2 years ago

Where did you get this from?

from": "{contact}"

Please provide a link to the documentation where you found this parameter.

I already tried without the from but the result was the same.
I already tried like that. using the cell phone directly.

<entry key='sms.http.url'>http://192.168.102.90:8082</entry>

I've tried with a standard url to trace but without success.

<entry key='sms.http.url'>https://www.traccar.org/sms/</entry>

if you can help me thanks.