Error in telegram notification on traccar 5.3

TDIGITALI2 years ago

Hello everyone,

I have the following problem and I would like to know if it has already happened to anyone

I just updated to traccar 5.3, configured my telegram notifier and when doing the test, it sends me the web notification, the email and the telegram from my configured bot. The problem is when I send a panic button from my traccar client app, I get the following error. Could any of you please support me?

2022-08-27 23:31:22  INFO: [T01ed52c7: osmand > 127.0.0.1] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-08-27 23:31:24  WARN: Notification failed - {"ok":false,"error_code":400,"description":"Bad Request: chat not found"} - MessageException (HttpSmsClient:96 < NotificatorSms:48 < NotificationManager:104 < ...)
2022-08-27 23:31:27  WARN: Notification failed - {"ok":false,"error_code":400,"description":"Bad Request: chat not found"} - MessageException (HttpSmsClient:96 < NotificatorSms:48 < NotificationManager:104 < ...)
2022-08-27 23:31:27  INFO: [T01ed52c7] error - NullPointerException (NotificatorFirebase:55 < <gener:-1 < *:-1 < ... < NotificatorManager:73 < ...)

Thanks in advance

Anton Tananaev2 years ago

Seems like a problem with chat id.

TDIGITALI2 years ago

Hi Anton,

I added the chatid attribute and it worked, the funny thing is that for the test notification it did but when it launched some other notification it didn't and it sent that in the log

Thanks a lot