bug: The rate limit of the createChannel event does not return "{ retry_after: xxx }" and gives an error.

Open
#117 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Start at the createChannel event and compare its rate-limit handling with the role-creation path described in the issue. Reproduce a channel creation rate-limit response and verify that it returns a { retry_after: xxx } message instead of the typingIds TypeError.

Written by the indexing model from the issue text.

Description

bug
What happened?

When creating a role with a bot, if it hits the rate limit, it returns the message "{ retry_after: 6967 }". However, when creating a channel with a bot, if it hits the rate limit, it returns the message "TypeError: Cannot read properties of undefined (reading 'typingIds') ..."

Dominant language
TypeScript
Stars
285
Forks
108
Avg merge
16h 49m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stoatchat/javascript-client-sdk

All issues in stoatchat/javascript-client-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.