Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient tokens for quota 'ReadGroup' #78

Closed
j2318 opened this issue May 5, 2017 · 7 comments
Closed

Insufficient tokens for quota 'ReadGroup' #78

j2318 opened this issue May 5, 2017 · 7 comments

Comments

@j2318
Copy link

j2318 commented May 5, 2017

Hi,
Can you shed some light on this error:
Error: <class 'googleapiclient.errors.HttpError'> <HttpError 429 when requesting https://sheets.googleapis.com/v4/spreadsheets/1YSo5QBlo6eagKruQIVCGmg-0q9emCKp3e892sR1o430/values/Case%20Units%21B1%3AB16?valueRenderOption=FORMATTED_VALUE&alt=json&majorDimension=COLUMNS returned "Insufficient tokens for quota 'ReadGroup' and limit 'USER-100s' of service 'sheets.googleapis.com' for consumer 'project_number:247898894239'.">
Is there way to increse this limit?
-- jacek

@nithinmurali
Copy link
Owner

I am not sure which quota you are exceeding. Either way in the Api quota page there is an option apply for higher quota you could try that.

@j2318
Copy link
Author

j2318 commented May 6, 2017 via email

@nithinmurali
Copy link
Owner

If you could you post your code or mention which functions you are calling, i could look into it.

@oreniko26
Copy link

oreniko26 commented Oct 9, 2017

I have the same problem only with the WriteGroup tokens. I'm trying to execute 178 update_cell() calls for 7 different sheets. Is it possible to somehow buffer those calls and burn less writing tokens? or does update_cell() have the ability to write multiple cell updates?

P.S
Applied for higher quota, thinking about how to deal with this in case they deny it.

@nithinmurali
Copy link
Owner

nithinmurali commented Oct 9, 2017

Can you please share your code which uses pygsheets

@ghanshyam-schoolbook
Copy link

Hello,
I am getting following error
"Google::Apis::RateLimitError: rateLimitExceeded: Insufficient tokens for quota 'WriteGroup' and limit 'USER-100s' of service 'sheets.googleapis.com' for consumer 'project_number:864617607794'."
Can anyone guide me how to resolve this issue

@nithinmurali
Copy link
Owner

You are making more than 100 requests per second, reduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants