Skip to content

fix lil_nouns telegram messages#246

Open
LeonardoVieira1630 wants to merge 1 commit intodevfrom
fix/lil_nouns_telegram_message
Open

fix lil_nouns telegram messages#246
LeonardoVieira1630 wants to merge 1 commit intodevfrom
fix/lil_nouns_telegram_message

Conversation

@LeonardoVieira1630
Copy link
Copy Markdown
Member

@LeonardoVieira1630 LeonardoVieira1630 commented Apr 23, 2026

error that was happening on lil_nouns notifications:


⚡ Slack bot is running on port 3004!

method: 'sendMessage',

[RabbitMQConsumer] Error in message handler: TelegramError: 400: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 77

payload: {

at Telegram.callApi (/app/node_modules/.pnpm/telegraf@4.16.3_encoding@0.1.13/node_modules/telegraf/lib/core/network/client.js:315:19)

chat_id: '6717185777',

parse_mode: 'Markdown',

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async TelegramBotService.sendNotification (/app/apps/consumers/dist/services/bot/telegram-bot.service.js:216:29)

disable_web_page_preview: true,

at async RabbitMQNotificationConsumerService.processNotification (/app/apps/consumers/dist/services/rabbitmq-notification-consumer.service.js:62:9)

at async /app/apps/consumers/dist/services/rabbitmq-notification-consumer.service.js:31:13

at async Consumer._handler (/app/packages/rabbitmq-client/dist/consumer.js:80:17)

at async Consumer._execHandler (/app/node_modules/.pnpm/rabbitmq-client@5.0.5/node_modules/rabbitmq-client/lib/Consumer.js:170:26) {

response: {

ok: false,

error_code: 400,

description: "Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 77"

},

on: {

reply_markup: undefined,

text: '📊 Proposal "Adjust Auction Reserve Price to 0.14 ETH" has ended on DAO LIL_NOUNS\n' +

'\n' +

[telegram] Notification sent successfully to user 85bc5791-dcd6-48a2-b0c6-1ab8d4495961

'Status: Canceled 🚫\n' +

[telegram] Notification sent successfully to user a0a8b3ad-c027-47cc-bfc2-4c96a8dc9710

'Votes: 0 FOR | 0 AGAINST | 0 ABSTAIN'

}

}

}

[RabbitMQConsumer] Error in message handler: TelegramError: 400: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 77

at Telegram.callApi (/app/node_modules/.pnpm/telegraf@4.16.3_encoding@0.1.13/node_modules/telegraf/lib/core/network/client.js:315:19)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async TelegramBotService.sendNotification (/app/apps/consumers/dist/services/bot/telegram-bot.service.js:216:29)

at async RabbitMQNotificationConsumerService.processNotification (/app/apps/consumers/dist/services/rabbitmq-notification-consumer.service.js:62:9)

at async /app/apps/consumers/dist/services/rabbitmq-notification-consumer.service.js:31:13

at async Consumer._handler (/app/packages/rabbitmq-client/dist/consumer.js:80:17)

at async Consumer._execHandler (/app/node_modules/.pnpm/rabbitmq-client@5.0.5/node_modules/rabbitmq-client/lib/Consumer.js:170:26) {

response: {

ok: false,

error_code: 400,

description: "Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 77"

},

on: {

method: 'sendMessage',

payload: {

chat_id: '512986281',

parse_mode: 'Markdown',

disable_web_page_preview: true,

reply_markup: undefined,

text: '📊 Proposal "Adjust Auction Reserve Price to 0.14 ETH" has ended on DAO LIL_NOUNS\n' +

'\n' +

'Status: Canceled 🚫\n' +

'Votes: 0 FOR | 0 AGAINST | 0 ABSTAIN'

}

}

}

the problem was the "_" being parsed as markdown.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flow-editor Ready Ready Preview, Comment Apr 23, 2026 4:11pm
notification-system-dashboard Ready Ready Preview, Comment Apr 23, 2026 4:11pm

Request Review

@LeonardoVieira1630 LeonardoVieira1630 changed the title refactor: remove depricated markdown parse fix lil_nouns telegram messages Apr 23, 2026
@LeonardoVieira1630 LeonardoVieira1630 self-assigned this Apr 23, 2026
@LeonardoVieira1630 LeonardoVieira1630 added the bug Something isn't working label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant