Failed to get notificator telegram - RuntimeException

Jeffa month ago

Hi

I have setup Telegram notification in 5.5 and upgraded to 6.5. Upgrade went smoothly but i just found out telegram notification no longer works.
Testing the notification shows me this error...

Failed to get notificator telegram - RuntimeException (NotificatorManager:75 < NotificationResource:107 < ... < OverrideFilter:49 < ...)

In developer console.. I also got this error...

POST https://[address]/api/notifications/test/telegram 400 (Bad Request)

I enabled logger full stack trace and nothing came out.

Below is my config...

<entry key='notificator.types'>web,telegram</entry>
<entry key='notificator.telegram.key'>key goes here</entry>
<entry key='notificator.telegram.chatId'>chat id goes here</entry>

I do see Command, Mail and Web channels in the Notification section, but kinda weird since i removed MAIL from the notificator.types.

Thanks!

Anton Tananaeva month ago

Which configuration file is that?

Jeffa month ago

i used traccar.xml and default.xml

inside traccar.xml i imported default.xml

 <entry key='config.default'>./conf/default.xml</entry>
Jeffa month ago

update:

ok my fault.. i didnt know config.default key was removed also on top of default.xml being grandfathered.. i transferred the custom parameters to traccar.xml and fixed it...

(need more coffee)

Thanks!