Traccar - telegram notifications

Alfanogard 3 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-trace 3 months ago

Then why dont you show your traccar config?

Alfanogard 3 months ago

xml file.png

Alfanogard 3 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 Tananaev 3 months ago

And if you test the channel in Traccar?

Alfanogard 3 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 Tananaev 3 months ago

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

Alfanogard 2 months ago

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

Anton Tananaev 2 months ago

im not receiving anyting on api side

What do you mean by this exactly?

Alfanogard 2 months 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 Tananaev 2 months ago

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

Alfanogard 2 months ago

unsure how to test traccars api response

Anton Tananaev 2 months ago

The easiest option is to check the browser network tool.