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

bug: alerts modal fails to pop up due to slack api rate limit #1634

Open
ghostdevv opened this issue Jan 24, 2025 · 0 comments
Open

bug: alerts modal fails to pop up due to slack api rate limit #1634

ghostdevv opened this issue Jan 24, 2025 · 0 comments

Comments

@ghostdevv
Copy link
Contributor

ghostdevv commented Jan 24, 2025

Provide environment information

It happens in the webapp docker container

Describe the bug

The modal for creating a new integration hangs while it tries to fetch information from Slack. Most of the time it fails, but occasionally it passes and I'm able to create an alert (either slack, or other). Other than this the Slack alerts work perfectly, it's just an issue with adding them.

Reproduction repo

n/a

To reproduce

It's possible it's because our connection is a larger slack org, I don't know - I haven't looked at the Slack integration code

Additional information

[WARN]  web-api:WebClient:22 http request failed A rate limit was exceeded (url: conversations.list, retry-after: 30)
Error: A rate limit was exceeded (url: conversations.list, retry-after: 30)
    at /triggerdotdev/node_modules/.pnpm/@[email protected]/node_modules/@slack/web-api/dist/WebClient.js:433:31
    at async run (/triggerdotdev/node_modules/.pnpm/[email protected]/node_modules/p-queue/dist/index.js:163:29) {
  attemptNumber: 1,
  retriesLeft: 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant