-
Notifications
You must be signed in to change notification settings - Fork 675
Description
Hey there,
I've been running into 3 occurrences of this error: Retry header did not contain a valid timeout
(from here)
The client was using the outdated 5.15.0 WebApi, so it didn't tell me the url.
My main questions are
- is there a way to prevent getting rate limit responses w/o retrySec information?
- are there any ideas about what causes this?
- Is there a best practice on how to handle these?
Thanks in advance
Packages:
Select all that apply:
-
@slack/web-api
-
@slack/rtm-api
-
@slack/webhooks
-
@slack/oauth
-
@slack/socket-mode
- I don't know
Reproducible in:
npm ls | grep -o "\S\+@\S\+$" | tr @ ' ' | awk -v q='"' '{print q$1q": "q"^"$2q","}' | grep slack
node --version
sw_vers && uname -v # or `ver`
The Slack SDK version
@slack/web-api: 5.15.0
Python runtime version
v15.14.0
OS info
Chrome/98.0.4758.80
Macintosh; Intel Mac OS X 10_15_7
Steps to reproduce:
(Share the commands to run, source code, and project settings)
- Send a slack message
- Receive a 429
- Miss the timeout
Expected result:
I don't know, assume a default timeoutSec?
Actual result:
(Tell what actually happened with logs, screenshots)
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.