René's URL Explorer Experiment


Title: slack is posting two/three messages with chat_postMessage · Issue #693 · slackapi/bolt-python · GitHub

Open Graph Title: slack is posting two/three messages with chat_postMessage · Issue #693 · slackapi/bolt-python

X Title: slack is posting two/three messages with chat_postMessage · Issue #693 · slackapi/bolt-python

Description: Description Describe your issue here. I am using slack-bolt python framework for my slack bolt which is going through some logic. I am using chat_postMessage method to send a message from bot. But currently it is sending three messages e...

Open Graph Description: Description Describe your issue here. I am using slack-bolt python framework for my slack bolt which is going through some logic. I am using chat_postMessage method to send a message from bot. But ...

X Description: Description Describe your issue here. I am using slack-bolt python framework for my slack bolt which is going through some logic. I am using chat_postMessage method to send a message from bot. But ...

Opengraph URL: https://github.com/slackapi/bolt-python/issues/693

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"slack is posting two/three messages with chat_postMessage","articleBody":"### Description\r\n\r\nDescribe your issue here.\r\nI am using slack-bolt python framework for my slack bolt which is going through some logic. I am using chat_postMessage method to send a message from bot. But currently it is sending three messages even though it's having single API call. I read about it and notices that it can be avoided with making X-Slack-Retry-Num =1 in header.(https://api.slack.com/apis/connections/events-api#graceful_retries) But i am wondering how can i change the header of the api call in res_out = app.client.chat_postMessage(channel=message['channel'],thread_ts = original_thread_id,blocks=block_final)\r\n### What type of issue is this? (place an `x` in one of the `[ ]`)\r\n- [ ] bug\r\n- [ ] enhancement (feature request)\r\n- [ ] question\r\n- [ ] documentation related\r\n- [x] example code related\r\n- [ ] testing related\r\n- [ ] discussion\r\n\r\n### Requirements (place an `x` in each of the `[ ]`)\r\n* [x ] I've read and understood the [Contributing guidelines](https://github.com/slackapi/bolt/blob/main/.github/contributing.md) and have done my best effort to follow them.\r\n* [x] I've read and agree to the [Code of Conduct](https://slackhq.github.io/code-of-conduct).\r\n* [x] I've searched for any related issues and avoided creating a duplicate issue.\r\n\r\n---\r\n\r\n### Bug Report\r\n\r\nFilling out the following details about bugs will help us solve your issue sooner.\r\n\r\n#### Reproducible in:\r\n\r\n\r\npackage version:\r\n\r\nnode version:\r\n\r\nOS version(s):\r\n\r\n#### Steps to reproduce:\r\n\r\n1. use res_out = app.client.chat_postMessage(channel=message['channel'],thread_ts = original_thread_id,blocks=block_final) in the bot's code and due to retry mechanism it tries and sends the same message thrice on single call.\r\n\r\n\r\n#### Expected result:\r\nBot should only post single message.\r\n\r\n\r\n#### Actual result:\r\nBot is posting two/three same messages\r\n\r\n\r\n#### Attachments:\r\n\r\n\r\n","author":{"url":"https://github.com/kunalrc2022","@type":"Person","name":"kunalrc2022"},"datePublished":"2022-08-03T19:50:34Z","url":"https://github.com/slackapi/bolt-python/issues/693"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bec2bb12-6b51-70ad-6087-adde0e0a5ade
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2CE:3D7D1E:322AA7:40C3A3:6AFF8A54
html-safe-nonce0ed362f67a6bc20c6667bcd9e15af89ff457f80cf25f10690f9c224f25fec086
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkNFOjNEN0QxRTozMjJBQTc6NDBDM0EzOjZBRkY4QTU0IiwidmlzaXRvcl9pZCI6Ijc0NTQ4OTk1MTkxNDcxODI2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac778d39d770b79c07fa18d85f6993afb9365b131cac69cd5d6f9140f34ebc0b5c
hovercard-subject-tagissue:1327715481
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/slackapi/bolt-python/693/issue_layout
twitter:imagehttps://opengraph.githubassets.com/52fcdc1521bbca3323a9c1921039bf7bf1e8f34c4624232fba90f2a59ceb3556/slackapi/bolt-python/issues/693
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52fcdc1521bbca3323a9c1921039bf7bf1e8f34c4624232fba90f2a59ceb3556/slackapi/bolt-python/issues/693
og:image:altDescription Describe your issue here. I am using slack-bolt python framework for my slack bolt which is going through some logic. I am using chat_postMessage method to send a message from bot. But ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekunalrc2022
hostnamegithub.com
expected-hostnamegithub.com
None587ad99a3e443b2e1cb0d3df059ec49ab54389861f13310766dfdeb615fed90d
turbo-cache-controlno-preview
go-importgithub.com/slackapi/bolt-python git https://github.com/slackapi/bolt-python.git
octolytics-dimension-user_id6962987
octolytics-dimension-user_loginslackapi
octolytics-dimension-repository_id268795735
octolytics-dimension-repository_nwoslackapi/bolt-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id268795735
octolytics-dimension-repository_network_root_nwoslackapi/bolt-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5bb0fb68d64881d1344f5863d809515d496801e5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/slackapi/bolt-python/issues/693#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fslackapi%2Fbolt-python%2Fissues%2F693
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fslackapi%2Fbolt-python%2Fissues%2F693
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=slackapi%2Fbolt-python
Reloadhttps://github.com/slackapi/bolt-python/issues/693
Reloadhttps://github.com/slackapi/bolt-python/issues/693
Reloadhttps://github.com/slackapi/bolt-python/issues/693
slackapihttps://github.com/slackapi
bolt-pythonhttps://github.com/slackapi/bolt-python
Codehttps://github.com/slackapi/bolt-python
Issues28 (28)https://github.com/slackapi/bolt-python/issues
Pull requests11 (11)https://github.com/slackapi/bolt-python/pulls
Actionshttps://github.com/slackapi/bolt-python/actions
Security and qualityhttps://github.com/slackapi/bolt-python/security
Insightshttps://github.com/slackapi/bolt-python/insights
https://github.com/slackapi/bolt-python
New issuehttps://github.com/login?return_to=https://github.com/slackapi/bolt-python/issues/693
New issuehttps://github.com/login?return_to=https://github.com/slackapi/bolt-python/issues/693
slack is posting two/three messages with chat_postMessagehttps://github.com/slackapi/bolt-python/issues/693#top
questionFurther information is requestedhttps://github.com/slackapi/bolt-python/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#issue-1327715481
https://api.slack.com/apis/connections/events-api#graceful_retrieshttps://api.slack.com/apis/connections/events-api#graceful_retries
Contributing guidelineshttps://github.com/slackapi/bolt/blob/main/.github/contributing.md
Code of Conducthttps://slackhq.github.io/code-of-conduct
https://github.com/mwbrooks
mwbrookshttps://github.com/mwbrooks
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1204408620
mwbrookshttps://github.com/mwbrooks
slackapi/bolt-jshttps://github.com/slackapi/bolt-js
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#event-7121990106
mwbrookshttps://github.com/mwbrooks
questionFurther information is requestedhttps://github.com/slackapi/bolt-python/issues?q=state%3Aopen%20label%3A%22question%22
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#event-7122006084
https://github.com/mwbrooks
mwbrookshttps://github.com/mwbrooks
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1204413187
@kunalrc2022https://github.com/kunalrc2022
requests must be acknowledgedhttps://slack.dev/bolt-python/concepts#acknowledge
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1204418089
@mwbrookshttps://github.com/mwbrooks
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 3, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1204419001
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1205178690
@mwbrookshttps://github.com/mwbrooks
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 5, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1206459237
@mwbrookshttps://github.com/mwbrooks
@objectfoxhttps://github.com/objectfox
@episodhttps://github.com/episod
@seratchhttps://github.com/seratch
https://github.com/objectfox
objectfoxhttps://github.com/objectfox
on Aug 5, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1206582433
@kunalrc2022https://github.com/kunalrc2022
https://github.com/kunalrc2022
kunalrc2022https://github.com/kunalrc2022
on Aug 5, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1206789114
@objectfoxhttps://github.com/objectfox
https://github.com/seratch
seratchhttps://github.com/seratch
on Aug 5, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1206887767
@kunalrc2022https://github.com/kunalrc2022
https://slack.dev/bolt-python/api-docs/slack_bolt/kwargs_injection/args.html#slack_bolt.kwargs_injection.args.Args.requesthttps://slack.dev/bolt-python/api-docs/slack_bolt/kwargs_injection/args.html#slack_bolt.kwargs_injection.args.Args.request
https://slack.dev/bolt-python/api-docs/slack_bolt/request/request.html#slack_bolt.request.request.BoltRequesthttps://slack.dev/bolt-python/api-docs/slack_bolt/request/request.html#slack_bolt.request.request.BoltRequest
https://slack.dev/bolt-python/concepts#global-middlewarehttps://slack.dev/bolt-python/concepts#global-middleware
https://github.com/seratch
seratchhttps://github.com/seratch
on Aug 15, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1214622961
seratchhttps://github.com/seratch
completedhttps://github.com/slackapi/bolt-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 15, 2022https://github.com/slackapi/bolt-python/issues/693#event-7186166079
https://github.com/iwakiri0104
iwakiri0104https://github.com/iwakiri0104
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266388432
@seratchhttps://github.com/seratch
https://github.com/seratch
seratchhttps://github.com/seratch
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266392110
@iwakiri0104https://github.com/iwakiri0104
https://slack.dev/bolt-python/api-docs/slack_bolt/request/request.html#slack_bolt.request.request.BoltRequest.headershttps://slack.dev/bolt-python/api-docs/slack_bolt/request/request.html#slack_bolt.request.request.BoltRequest.headers
https://github.com/iwakiri0104
iwakiri0104https://github.com/iwakiri0104
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266405409
@seratchhttps://github.com/seratch
https://github.com/seratch
seratchhttps://github.com/seratch
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266407578
@iwakiri0104https://github.com/iwakiri0104
https://github.com/iwakiri0104
iwakiri0104https://github.com/iwakiri0104
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266428930
@seratchhttps://github.com/seratch
https://github.com/seratch
seratchhttps://github.com/seratch
on Oct 4, 2022https://github.com/slackapi/bolt-python/issues/693#issuecomment-1266436200
@iwakiri0104https://github.com/iwakiri0104
#731https://github.com/slackapi/bolt-python/issues/731
Sign up for freehttps://github.com/signup?return_to=https://github.com/slackapi/bolt-python/issues/693
Sign in to commenthttps://github.com/login?return_to=https://github.com/slackapi/bolt-python/issues/693
questionFurther information is requestedhttps://github.com/slackapi/bolt-python/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.