Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent Failure to Open Loading Modal – trigger_id Expired #1439

Open
kranti-rh opened this issue Feb 17, 2025 · 1 comment
Open

Intermittent Failure to Open Loading Modal – trigger_id Expired #1439

kranti-rh opened this issue Feb 17, 2025 · 1 comment
Labels
project:slack-api-client project:slack-api-client question M-T: User needs support to use the project

Comments

@kranti-rh
Copy link

I'm experiencing intermittent failures when attempting to open a loading modal due to an expired trigger_id.

My implementation ensures that the modal is triggered immediately upon receiving the trigger_id, well within the 3-second validity period.
Despite this, the request to open the loading modal occasionally fails, indicating that the trigger_id has expired.

Questions:

  1. Has this issue been reported previously? Are there any known factors that might cause the trigger_id to expire prematurely?
  2. Could this be due to network latency or other Slack-side processing delays?
  3. Are there any recommended best practices or alternative approaches to ensure reliable modal opening?
  4. Looking forward to insights or guidance on resolving this issue.

Thanks!

Reproducible in:

[INFO] +- com.slack.api:bolt:jar:1.38.3:compile
[INFO] |  +- com.slack.api:slack-api-model:jar:1.38.3:compile
[INFO] |  +- com.slack.api:slack-app-backend:jar:1.38.3:compile
[INFO] +- com.slack.api:bolt-socket-mode:jar:1.38.3:compile
[INFO] +- com.slack.api:bolt-jakarta-servlet:jar:1.36.0:compile
[INFO] +- com.slack.api:slack-api-client:jar:1.36.0:compile
@zimeg zimeg added question M-T: User needs support to use the project project:slack-api-client project:slack-api-client and removed untriaged labels Feb 17, 2025
@zimeg
Copy link
Member

zimeg commented Feb 17, 2025

Hey @kranti-rh 👋

This might be related to networking issues in #1438, but I'm interested in learning more about these failed requests too!

My implementation ensures that the modal is triggered immediately upon receiving the trigger_id, well within the 3-second validity period.

Is there a chance you can share debug logs of a failed request? I'm especially interested in knowing how often this does fail and how long successfully requests take to complete.

Any more info is also helpful, but do let me know of possible networking issues that could be getting in the way as well 👾

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:slack-api-client project:slack-api-client question M-T: User needs support to use the project
Projects
None yet
Development

No branches or pull requests

2 participants