{"action":"created","issue":{"url":"https://api.github.com/repos/transloadit/uppy/issues/1040","repository_url":"https://api.github.com/repos/transloadit/uppy","labels_url":"https://api.github.com/repos/transloadit/uppy/issues/1040/labels{/name}","comments_url":"https://api.github.com/repos/transloadit/uppy/issues/1040/comments","events_url":"https://api.github.com/repos/transloadit/uppy/issues/1040/events","html_url":"https://github.com/transloadit/uppy/issues/1040","id":356879919,"node_id":"MDU6SXNzdWUzNTY4Nzk5MTk=","number":1040,"title":"Uppy exceeds google drive user request quota","user":{"login":"ArtiomShapovalov","id":4069820,"node_id":"MDQ6VXNlcjQwNjk4MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/4069820?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtiomShapovalov","html_url":"https://github.com/ArtiomShapovalov","followers_url":"https://api.github.com/users/ArtiomShapovalov/followers","following_url":"https://api.github.com/users/ArtiomShapovalov/following{/other_user}","gists_url":"https://api.github.com/users/ArtiomShapovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtiomShapovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtiomShapovalov/subscriptions","organizations_url":"https://api.github.com/users/ArtiomShapovalov/orgs","repos_url":"https://api.github.com/users/ArtiomShapovalov/repos","events_url":"https://api.github.com/users/ArtiomShapovalov/events{/privacy}","received_events_url":"https://api.github.com/users/ArtiomShapovalov/received_events","type":"User","site_admin":false},"labels":[{"id":651601329,"node_id":"MDU6TGFiZWw2NTE2MDEzMjk=","url":"https://api.github.com/repos/transloadit/uppy/labels/Companion","name":"Companion","color":"5d3fa8","default":false}],"state":"open","locked":false,"assignee":{"login":"ifedapoolarewaju","id":8383781,"node_id":"MDQ6VXNlcjgzODM3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8383781?v=4","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false},"assignees":[{"login":"ifedapoolarewaju","id":8383781,"node_id":"MDQ6VXNlcjgzODM3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8383781?v=4","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-04T16:08:48Z","updated_at":"2018-11-25T21:35:27Z","closed_at":null,"author_association":"NONE","body":"Basically that is the error I receive from google\r\n```\r\n{\r\n \"error\": {\r\n  \"errors\": [\r\n   {\r\n    \"domain\": \"usageLimits\",\r\n    \"reason\": \"userRateLimitExceeded\",\r\n    \"message\": \"User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=889648445417\",\r\n    \"extendedHelp\": \"https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=88964845417\"\r\n   }\r\n  ],\r\n  \"code\": 403,\r\n  \"message\": \"User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=88968445417\"\r\n }\r\n}\r\n```\r\nOf course all limits are set to maximum value.\r\n<img width=\"1304\" alt=\"screen shot 2018-09-04 at 19 04 00\" src=\"https://user-images.githubusercontent.com/4069820/45043258-58aa0600-b075-11e8-8ebd-f79d8e5bbdf9.png\">\r\n\r\nAny ideas on how to resolve it? Does uppy have some throttling mechanism to slow down requests?\r\n"},"comment":{"url":"https://api.github.com/repos/transloadit/uppy/issues/comments/441475672","html_url":"https://github.com/transloadit/uppy/issues/1040#issuecomment-441475672","issue_url":"https://api.github.com/repos/transloadit/uppy/issues/1040","id":441475672,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQ3NTY3Mg==","user":{"login":"ifedapoolarewaju","id":8383781,"node_id":"MDQ6VXNlcjgzODM3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8383781?v=4","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T21:35:27Z","updated_at":"2018-11-25T21:35:27Z","author_association":"COLLABORATOR","body":"Hi @ArtiomShapovalov, unfortunately, there's no way to do this with uppy out of the box. I would recommend adding rate limits on the `HTTP Server` level (i.e Apache, Nginx, HAProxy). You could also have a look at https://developers.google.com/drive/api/v3/handle-errors#403_user_rate_limit_exceeded (if you haven't already)"}}
{"actor":{"display_login":"ifedapoolarewaju"}}