Traccar - telegram notifications

Alfanogard 2 months ago

Good day can anyone give me advice how to debug traccar and telegram notifications
i already spent a day thru all forums confirming my xml file config and my telegram bot
i tested the bot and all is good but i cant see that traccar is sending any notifications thru the logs

Track-trace2 months ago

Then why dont you show your traccar config?

Alfanogard 2 months ago

xml file.png

Alfanogard 2 months ago

if i use curl comand from my server it does go thru to my telegram bot
curl -X POST "https://api.telegram.org/bot1111111111:adasdawdadadewdadawadsdwasdwas/sendMessage" -d "chat_id=-5156136515&text=my sample text"

Anton Tananaev2 months ago

And if you test the channel in Traccar?

Alfanogard 2 months ago

No when i run a test there is no respons on the log for notifications sent or on the bots api consel

Anton Tananaev2 months ago

But what is the API response? If you don't get any errors, it means the message was successfully sent.

Alfanogard a month ago

im not receiving anyting on api side
started a fresh new bot new server install even tried sms config for telegram

Anton Tananaeva month ago

im not receiving anyting on api side

What do you mean by this exactly?

Alfanogard a month ago

no errors or connection atemps on api side
notifications 0 on tracker side going to restart server and attempt to see if telegram is starting on server startup acording to advice from chat gpt

Anton Tananaeva month ago

I'm asking about Traccar API response when you test it.

Alfanogard a month ago

unsure how to test traccars api response

Anton Tananaeva month ago

The easiest option is to check the browser network tool.