{"action":"created","issue":{"url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/5","labels_url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/5/comments","events_url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/5/events","html_url":"https://github.com/ddurdle/PERL-CloudSync/issues/5","id":114997136,"number":5,"title":"Error Message when syncing with ACD","user":{"login":"c64bob","id":9025331,"avatar_url":"https://avatars.githubusercontent.com/u/9025331?v=3","gravatar_id":"","url":"https://api.github.com/users/c64bob","html_url":"https://github.com/c64bob","followers_url":"https://api.github.com/users/c64bob/followers","following_url":"https://api.github.com/users/c64bob/following{/other_user}","gists_url":"https://api.github.com/users/c64bob/gists{/gist_id}","starred_url":"https://api.github.com/users/c64bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c64bob/subscriptions","organizations_url":"https://api.github.com/users/c64bob/orgs","repos_url":"https://api.github.com/users/c64bob/repos","events_url":"https://api.github.com/users/c64bob/events{/privacy}","received_events_url":"https://api.github.com/users/c64bob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ddurdle","id":851508,"avatar_url":"https://avatars.githubusercontent.com/u/851508?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurdle","html_url":"https://github.com/ddurdle","followers_url":"https://api.github.com/users/ddurdle/followers","following_url":"https://api.github.com/users/ddurdle/following{/other_user}","gists_url":"https://api.github.com/users/ddurdle/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurdle/subscriptions","organizations_url":"https://api.github.com/users/ddurdle/orgs","repos_url":"https://api.github.com/users/ddurdle/repos","events_url":"https://api.github.com/users/ddurdle/events{/privacy}","received_events_url":"https://api.github.com/users/ddurdle/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-04T08:16:04Z","updated_at":"2016-01-25T20:15:44Z","closed_at":null,"body":"Hi,\r\n\r\nI am syncing a folder on my GDrive with my Amazon Cloud Drive. It run perfectly for a couple of hours, then exited; the last lines of output were these:\r\n\r\nbackoff retry 1\r\nbackoff retry 2\r\nbackoff retry 3\r\nbackoff retry 4\r\nbackoff retry 5\r\nbackoff retry 6\r\nCan't use string (\"0\") as a SCALAR ref while \"strict refs\" in use at lib/amazonapi.pm line 740, <$userInput> line 4."},"comment":{"url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/comments/174647744","html_url":"https://github.com/ddurdle/PERL-CloudSync/issues/5#issuecomment-174647744","issue_url":"https://api.github.com/repos/ddurdle/PERL-CloudSync/issues/5","id":174647744,"user":{"login":"ddurdle","id":851508,"avatar_url":"https://avatars.githubusercontent.com/u/851508?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurdle","html_url":"https://github.com/ddurdle","followers_url":"https://api.github.com/users/ddurdle/followers","following_url":"https://api.github.com/users/ddurdle/following{/other_user}","gists_url":"https://api.github.com/users/ddurdle/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurdle/subscriptions","organizations_url":"https://api.github.com/users/ddurdle/orgs","repos_url":"https://api.github.com/users/ddurdle/repos","events_url":"https://api.github.com/users/ddurdle/events{/privacy}","received_events_url":"https://api.github.com/users/ddurdle/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T20:15:44Z","updated_at":"2016-01-25T20:15:44Z","body":"What I have noticed is that I sometimes would run into this issue and it wasn't just with the Amazon Cloud Drive.   Except for One Drive, the other services I cache folder IDs so as not to make repeated calls traversing folder paths when the folder ID is already known.  If the folder is deleted (not simply trashed) on the server and the script tries to use a cache folder ID (trying to upload to a folder that was deleted), it will run into this error.   I had predicted the possibility of this issue by wrapping around logic the situation (create a new folder and replace the cache ID with that one), but it seems there are still some issues.  What I did with Google Drive is completely disable local folder ID caching and will make the same change for Amazon Cloud Drive until it works reliably.  "}}