flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

[Health] Rate limited request quota has been exceeded

Open SlimShadyIAm opened this issue 6 months ago • 0 comments

Several users have reported app crashes when requesting too much data from Health Connect, with the following error:

android.os.RemoteException: Request rejected. Rate limited request quota has been exceeded. Please wait until quota has replenished before making further requests.
  • #787
  • #973
  • https://stackoverflow.com/questions/76924081/healthconnect-rate-limited-request-quota-has-been-exceeded

Google provides several possible approaches in https://developer.android.com/health-and-fitness/guides/health-connect/plan/rate-limiting

However, as per #931, we should also handle this possible error in a better fashion rather than allowing the app to crash.

SlimShadyIAm avatar Aug 23 '24 10:08 SlimShadyIAm