{"action":"created","issue":{"url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/22","repository_url":"https://api.github.com/repos/torre76/django-googledrive-storage","labels_url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/22/comments","events_url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/22/events","html_url":"https://github.com/torre76/django-googledrive-storage/pull/22","id":192251115,"number":22,"title":"Setting permissions in a separate call sometimes causes 500","user":{"login":"anka-sirota","id":176934,"avatar_url":"https://avatars.githubusercontent.com/u/176934?v=3","gravatar_id":"","url":"https://api.github.com/users/anka-sirota","html_url":"https://github.com/anka-sirota","followers_url":"https://api.github.com/users/anka-sirota/followers","following_url":"https://api.github.com/users/anka-sirota/following{/other_user}","gists_url":"https://api.github.com/users/anka-sirota/gists{/gist_id}","starred_url":"https://api.github.com/users/anka-sirota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anka-sirota/subscriptions","organizations_url":"https://api.github.com/users/anka-sirota/orgs","repos_url":"https://api.github.com/users/anka-sirota/repos","events_url":"https://api.github.com/users/anka-sirota/events{/privacy}","received_events_url":"https://api.github.com/users/anka-sirota/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-29T11:02:12Z","updated_at":"2016-11-30T10:12:54Z","closed_at":"2016-11-29T15:15:34Z","pull_request":{"url":"https://api.github.com/repos/torre76/django-googledrive-storage/pulls/22","html_url":"https://github.com/torre76/django-googledrive-storage/pull/22","diff_url":"https://github.com/torre76/django-googledrive-storage/pull/22.diff","patch_url":"https://github.com/torre76/django-googledrive-storage/pull/22.patch"},"body":"When permissions differ from default ones, `self._drive_service.permissions().insert()` sometimes causes `HTTP 500 An internal error has occurred which prevented the sharing of these item(s)` (looks like rate limiting).\r\nCan be fixed by including permissions into the file's body and removing that extra call."},"comment":{"url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/comments/263834863","html_url":"https://github.com/torre76/django-googledrive-storage/pull/22#issuecomment-263834863","issue_url":"https://api.github.com/repos/torre76/django-googledrive-storage/issues/22","id":263834863,"user":{"login":"anka-sirota","id":176934,"avatar_url":"https://avatars.githubusercontent.com/u/176934?v=3","gravatar_id":"","url":"https://api.github.com/users/anka-sirota","html_url":"https://github.com/anka-sirota","followers_url":"https://api.github.com/users/anka-sirota/followers","following_url":"https://api.github.com/users/anka-sirota/following{/other_user}","gists_url":"https://api.github.com/users/anka-sirota/gists{/gist_id}","starred_url":"https://api.github.com/users/anka-sirota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anka-sirota/subscriptions","organizations_url":"https://api.github.com/users/anka-sirota/orgs","repos_url":"https://api.github.com/users/anka-sirota/repos","events_url":"https://api.github.com/users/anka-sirota/events{/privacy}","received_events_url":"https://api.github.com/users/anka-sirota/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T10:12:54Z","updated_at":"2016-11-30T10:12:54Z","body":"yes, that's something I'm considering in case `time.sleep` won't help in fixing the issue\r\nthanks a lot for the suggestions!"}}
{"actor":{"display_login":"anka-sirota"}}