{"action":"created","issue":{"url":"https://api.github.com/repos/iwonbigbro/gsync/issues/66","repository_url":"https://api.github.com/repos/iwonbigbro/gsync","labels_url":"https://api.github.com/repos/iwonbigbro/gsync/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/iwonbigbro/gsync/issues/66/comments","events_url":"https://api.github.com/repos/iwonbigbro/gsync/issues/66/events","html_url":"https://github.com/iwonbigbro/gsync/issues/66","id":33639490,"number":66,"title":"ID = None cause File id mismatch errors on first upload","user":{"login":"GyroLand","id":3625281,"avatar_url":"https://avatars.githubusercontent.com/u/3625281?v=3","gravatar_id":"","url":"https://api.github.com/users/GyroLand","html_url":"https://github.com/GyroLand","followers_url":"https://api.github.com/users/GyroLand/followers","following_url":"https://api.github.com/users/GyroLand/following{/other_user}","gists_url":"https://api.github.com/users/GyroLand/gists{/gist_id}","starred_url":"https://api.github.com/users/GyroLand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GyroLand/subscriptions","organizations_url":"https://api.github.com/users/GyroLand/orgs","repos_url":"https://api.github.com/users/GyroLand/repos","events_url":"https://api.github.com/users/GyroLand/events{/privacy}","received_events_url":"https://api.github.com/users/GyroLand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-05-16T01:07:52Z","updated_at":"2016-02-16T22:13:41Z","closed_at":"2015-01-07T12:13:24Z","body":"Hi!\r\n\r\nWhen uploading new files to drive, the ID comes up as None (as defined by SyncFileLocal.getInfo, i guess) in the properties, and this causes a http 400 error saying File ID mismatch.\r\nI could actually fix this by changing the create method in class _Drive like this:\r\n```\r\nfor k, v in properties.iteritems():\r\n            if v is not None:\r\n                body[k] = _Drive.utf8(v)\r\n```\r\nI am just not sure that this won't cause any other problems. I am using the latest pip version, not the git one. But i think the same would happen in the git version as well."},"comment":{"url":"https://api.github.com/repos/iwonbigbro/gsync/issues/comments/184896831","html_url":"https://github.com/iwonbigbro/gsync/issues/66#issuecomment-184896831","issue_url":"https://api.github.com/repos/iwonbigbro/gsync/issues/66","id":184896831,"user":{"login":"tevch","id":1325400,"avatar_url":"https://avatars.githubusercontent.com/u/1325400?v=3","gravatar_id":"","url":"https://api.github.com/users/tevch","html_url":"https://github.com/tevch","followers_url":"https://api.github.com/users/tevch/followers","following_url":"https://api.github.com/users/tevch/following{/other_user}","gists_url":"https://api.github.com/users/tevch/gists{/gist_id}","starred_url":"https://api.github.com/users/tevch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevch/subscriptions","organizations_url":"https://api.github.com/users/tevch/orgs","repos_url":"https://api.github.com/users/tevch/repos","events_url":"https://api.github.com/users/tevch/events{/privacy}","received_events_url":"https://api.github.com/users/tevch/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T22:13:41Z","updated_at":"2016-02-16T22:13:41Z","body":"yes, please\r\ni got the same issue, same fix\r\nbut please release it to pip"}}