GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bug: revises Exception type by chalmerlowe · Pull Request #1994 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@chalmerlowe

@chalmerlowe chalmerlowe commented Aug 14, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Revises an exception type to a type that is more descriptive of the true problem.

Specifically, migrates from an http.client.FORBIDDEN exception to an TooManyRequests Error if a user experiences a rateLimitExceeded condition. This enables automated systems to more appropriately respond in situations where the rate limit is exceeded.

Fixes #1985 🦕

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chalmerlowe
revises Exception type
5292ac5
@conventional-commit-lint-gcf

conventional-commit-lint-gcf Bot commented Aug 14, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Aug 14, 2024
chalmerlowe added 2 commits August 14, 2024 10:05
@chalmerlowe
Merge branch 'main' into fix-rate-limit-exceeded
e188779
@chalmerlowe
updates error choices
3e055d2
@chalmerlowe

chalmerlowe commented Aug 14, 2024

Copy link
Copy Markdown
Collaborator Author

The failure of the Kokoro docs-presubmit is a separate issue and is being handled in this PR:
#1995

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chalmerlowe chalmerlowe self-assigned this Aug 14, 2024
@chalmerlowe
chalmerlowe requested a review from suzmue August 14, 2024 16:23
@chalmerlowe
chalmerlowe marked this pull request as ready for review August 14, 2024 16:23
@chalmerlowe
chalmerlowe requested review from a team August 14, 2024 16:23
suzmue
suzmue approved these changes Aug 14, 2024
View reviewed changes
@chalmerlowe
chalmerlowe merged commit e7e0fcf into main Aug 14, 2024
@chalmerlowe
chalmerlowe deleted the fix-rate-limit-exceeded branch August 14, 2024 16:30
@cozos

cozos commented Aug 18, 2024

Copy link
Copy Markdown

Thank you so much @chalmerlowe

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chalmerlowe chalmerlowe mentioned this pull request Aug 29, 2024
Should a rateLimitExceeded have a "429 Too Many Requests" instead of "403 Forbidden"? #2006
Closed
@Ouadada Ouadada mentioned this pull request Jun 22, 2025
[Data] When writing on BigQuery, Google's "TooManyRequests" exceptions is not retried ray-project/ray#53997
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@suzmue suzmue suzmue approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@chalmerlowe chalmerlowe

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Should a rateLimitExceeded have a "429 Too Many Requests" instead of "403 Forbidden"?

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@chalmerlowe @cozos @suzmue
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.