getsentry / getsentry/sentry

Adjust error message for rate limits reached

Open
#78,936 1 comment 0 reactions 0 assignees View on GitHub
Improvement Product Area: Dashboards
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

**Problem**: We're currently displaying a timeout error message when running into rate limits as a result of refreshing a dashboard multiple times within a short timeframe. This is misleading and the suggested solution (reducing the time frame) doesn't make sense in this case.

**Proposed solution**: Update the error message for this case to inform the customer that a rate limit has been reached. "Rate limit reached. Please try again later." If we can be more specific about the timeframe, even better.

Related issue: https://www.notion.so/sentry/Dashboards-Widget-Timeouts-1138b10e4b5d8079ba15dd05d3a82a3e

Contributor guide

Open the contributing guide

Research direction

Start by tracing the dashboard refresh timeout and rate-limit handling described in the issue, using the related Dashboards Widget Timeouts issue for context. Done means the affected case clearly reports that a rate limit was reached, with a more specific timeframe if available, instead of displaying a timeout message.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.