Telegram API error - HTTP 404 Not Found

See original GitHub issue

Here is my server log after I restarted the service.

2019-05-28 19:21:38  INFO: Successfully released change log lock
2019-05-28 19:21:38  INFO: Logging initialized @9911ms to org.eclipse.jetty.util.log.Slf4jLog
2019-05-28 19:21:39  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2019-05-28 19:21:40  INFO: Operating system name: Linux version: 4.15.0-36-generic architecture: amd64
2019-05-28 19:21:40  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 11.0.3-ojdkbuild+7
2019-05-28 19:21:40  INFO: Memory limit heap: 121mb non-heap: 0mb
2019-05-28 19:21:40  INFO: Character encoding: UTF-8 charset: UTF-8
2019-05-28 19:21:40  INFO: Version: 4.4
2019-05-28 19:21:40  INFO: Starting server...
2019-05-28 19:21:41  INFO: jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 11.0.3-ojdkbuild+7
2019-05-28 19:21:41  INFO: Started o.t.w.@2bba35ef{/,null,AVAILABLE}
2019-05-28 19:21:41  INFO: DefaultSessionIdManager workerName=node0
2019-05-28 19:21:41  INFO: No SessionScavenger set, using defaults
2019-05-28 19:21:41  INFO: node0 Scavenging every 600000ms
2019-05-28 19:21:43  INFO: Started o.e.j.s.ServletContextHandler@3cad24ae{/,null,AVAILABLE}
2019-05-28 19:21:43  INFO: Started ServerConnector@3414a8c3{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2019-05-28 19:21:43  INFO: Started @14764ms

This is the warning about the telegram notification 2019-05-28 19:23:36 WARN: Telegram API error - HTTP 404 Not Found - NotFoundException (...)

I downloaded the latest traccar version which is 4.5 from https://github.com/traccar/traccar/releases/download/v4.5/traccar-linux-64-4.5.zip

My telegram api works well with other programming

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lordrak007commented, Jun 24, 2019

So i found more threads with this problem … by testing i have got this config working

	<entry key='notificator.types'>web,mail,telegram</entry>
	<entry key='notificator.telegram.chatId'>-4897532653</entry>
	<entry key='notificator.telegram.key'>486434687:AAGjdzffrpM-jkizrrmokFX_gZhTDRN7IZo</entry>
0reactions
Hynacommented, Apr 12, 2022

I had a same issue. ChatId and key were correct, verified by curl. The problem was realy in configuration as @tananaev said. Configuration is case sensitive.

Source of my problems was tihs post : https://www.traccar.org/forums/topic/telegram-notification/

Incorrect:

<entry key='notificator.Telegram.chatId'>xxx</entry>
<entry key='notificator.Telegram.key'>yyy</entry>

Correct:

<entry key='notificator.telegram.chatId'>xxx</entry>
<entry key='notificator.telegram.key'>yyy</entry>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 404 while accessing api method on telegram bot
I have faced similar error using Telegram Bot SDK for laravel. Error: Telegram\Bot\Exceptions\TelegramResponseException Not Found.
Read more >
[Telegram Connector] why the message 404 Not Found?
Hi there,. I am trying to use the Send method with parameter my chat id. Unfortunately, an Error 404 comes up. How to...
Read more >
Telegram API error - HTTP 404 Not Found - Traccar
the only thing I have to do is to enter the user's telegram chatid in the cell phone number field. Hello,
Read more >
Telegram : {"ok":false,"error_code":404,"description":"
Telegram : {"ok":false,"error_code":404,"description":"Not Found"} ... I am unable to resolve this error code. ... the bot id used by u is wrong… u ......
Read more >
Error 404 while accessing api method on telegram bot
Error 404 while accessing api method on telegram bot. httphttp-postifttttelegramtelegram-bot. I just created a bot of telegram to finish a task for the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found