Open obaidch24 opened 1 month ago
Thank you for opening this issue!
🔔 @momme-rtf @Elliot67 @jfkisafk @thomaslombart @RobErskine you might want to have a look.
Are you getting this consistently, or does the error go away after a few seconds or minutes? If the latter happens, it's normal behavior.
Are you getting this consistently, or does the error go away after a few seconds or minutes? If the latter happens, it's normal behavior.
Always
Could you share a recording? It'll make it easier to see what's happening.
Could you share a recording? It'll make it easier to see what's happening.
Sure.
https://github.com/user-attachments/assets/ac70752c-7442-4ec8-86c2-309b117ce16e
@thomaslombart When I try to select Unread messages
or Open Channel
for the first time, it shows loading for more than 1 minute and then throws a rate-limit error. After that, it immediately throws the rate-limit error.
@obaidch24 Are you in a very large Slack workspace ? How many users and public channels are in it ?
Rate limiting might be the alternative ending to #13067 .
users.list
and conversations.list
are both rate limited "Tier 2" (20 requests per minute).
We can retrieve 1_000 users per requests and 1_000 conversations which means rate limiting could start to appear on workspace with more than ~15k users.
Simplest solution is to fetch and cache all the data bit by bit, preferably in the background if raycast allows it.
@obaidch24 Are you in a very large Slack workspace ? How many users and public channels are in it ?
Rate limiting might be the alternative ending to #13067 .
users.list
andconversations.list
are both rate limited "Tier 2" (20 requests per minute).We can retrieve 1_000 users per requests and 1_000 conversations which means rate limiting could start to appear on workspace with more than ~15k users.
Simplest solution is to fetch and cache all the data bit by bit, preferably in the background if raycast allows it.
Yes, the workspace is quite large. I'm not sure how many users and public channels it has. I guess it should have more than 4K active users.
It could indeed be due to the large workspace. @obaidch24, if you have other Slack workspaces, could you test the extension in a smaller one and let me know if it works?
It could indeed be due to the large workspace. @obaidch24, if you have other Slack workspaces, could you test the extension in a smaller one and let me know if it works?
Unfortunately, I don't have another one.
Extension
https://raycast.com/mommertf/slack
Raycast Version
1.81.2
macOS Version
14.6.1
Description
Error:
Steps To Reproduce
Current Behaviour
No response
Expected Behaviour
No response