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

When deleting many events, Google's rate limiting kicks in #187

Open
ulysserevient opened this issue Jun 8, 2021 · 2 comments
Open

When deleting many events, Google's rate limiting kicks in #187

ulysserevient opened this issue Jun 8, 2021 · 2 comments
Labels
enhancement New feature or request future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead.

Comments

@ulysserevient
Copy link

Hi,
When I try to delete or cut many events in a google calendar, only few events are deleted.
I have to reproduce the deletion to complete.
Here is the message in the debug log

Lightning: [calGoogleCalendar] Deleting item toto failed:2147500037: {
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "rateLimitExceeded",
    "message": "Rate Limit Exceeded"
   }
  ],
  "code": 403,
  "message": "Rate Limit Exceeded"
 }
}

It seems there is a limit for deletion !
Is there a solution ?

@ulysserevient
Copy link
Author

No body can help me ?

@kewisch kewisch added the enhancement New feature or request label Sep 4, 2021
@kewisch
Copy link
Owner

kewisch commented Sep 4, 2021

Ah yes, I can see why this would happen. Unfortunately I don't think there will be an easy fix, I'll have to build some sort of exponential backoff mechanism into all API operations. I'm consindering this an enhancement, the workaround for now is to delete less at once.

@kewisch kewisch changed the title Delete or cut many events When deleting many events, Google's rate limiting kicks in Sep 4, 2021
@kewisch kewisch added the future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead. label Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead.
Projects
None yet
Development

No branches or pull requests

2 participants