Skip to content

Send message fails to retry on ratelimited error #292

@andre-qumulo

Description

@andre-qumulo

Description

We had a send fail with:

Run slackapi/[email protected]
axios post failed, double check the payload being sent includes the keys Slack expects
{
  username: 'github/repo',
  channel: '#some-channel',
  text: 'A message'
}
Error: {"retry_after":1,"ok":false,"error":"rate_limited"}
Error: Request failed with status code 429

It seems like this failure could be retries after a default timeout

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • example code related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

package version: 1.25.0

node version:

OS version(s):

Steps to reproduce:

  1. Have a message get a rate_limited error

Expected result:

The action would retry up to an upper limit of time

Actual result:

The action just fails

Attachments:

Run slackapi/[email protected]
axios post failed, double check the payload being sent includes the keys Slack expects
{
  username: 'github/repo',
  channel: '#some-channel',
  text: 'A message'
}
Error: {"retry_after":1,"ok":false,"error":"rate_limited"}
Error: Request failed with status code 429

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions