Skip to content

[Bug]: GrammyError: Call to 'sendMessage' failed! (429: Too Many Requests: retry after 5329) #144

Description

@thinisde

What is broken?

[2026-06-05T16:01:02.702Z] [ERROR] [PinnedManager] Error creating pinned message: GrammyError: Call to 'sendMessage' failed! (429: Too Many Requests: retry after 5329)
at toGrammyError (/home/thinh/.bun/install/global/node_modules/grammy/out/core/error.js:47:12)
at ApiClient.callApi (/home/thinh/.bun/install/global/node_modules/grammy/out/core/client.js:100:48)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async PinnedMessageManager.createPinnedMessage (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/pinned/manager.js:621:33)
at async PinnedMessageManager.onSessionChange (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/pinned/manager.js:77:9)
at async ensureAttachPinnedSession (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/attach/service.js:38:9)
at async attachToSession (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/attach/service.js:96:5)
at async restoreAttachedCurrentSession (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/attach/service.js:163:9)
at async file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/bot/index.js:907:26
at async OpencodeReadyLifecycle.notifyReady (file:///home/thinh/.bun/install/global/node_modules/@grinev/opencode-telegram-bot/dist/opencode/ready-lifecycle.js:23:17)

Steps to reproduce

Idk, it just appears on my local

OS

No response

Additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions