{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13698","labels_url":"https://api.github.com/repos/owncloud/core/issues/13698/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13698/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13698/events","html_url":"https://github.com/owncloud/core/issues/13698","id":55554871,"number":13698,"title":"Can't setup dropbox external storage","user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_external","name":"app:files_external","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/Regression","name":"Regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev3-medium","name":"sev3-medium","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-26T23:46:02Z","updated_at":"2015-01-27T10:51:45Z","closed_at":null,"body":"* enter credentials in the external storage settings\r\n* click on the \"grant access\" button\r\n* redirect to dropbox -> click the allow button\r\n* redirect to owncloud\r\n\r\n## expected\r\n\r\n* dropbox mount point is mounted\r\n\r\n## actual\r\n\r\n* no mount point is in external storage settings list\r\n* owncloud.log:\r\n```\r\n{\r\n\t\"reqId\":\"c2bf8fd7f5fbfacd848d08b73993a6ef\",\r\n\t\"remoteAddr\":\"127.0.0.1\",\r\n\t\"app\":\"index\",\r\n\t\"message\":\"Exception: {\r\n\t\t\"Message\":\"Creating \\OC\\Files\\Storage\\Dropbox storage failed\",\"Code\":0,\"Trace\":\"#0 apps/files_external/lib/config.php(908): OC\\Files\\Storage\\Dropbox->__construct(Array)\r\n\t\t#1 apps/files_external/lib/config.php(666): OC_Mount_Config::addStorageId(Array)\r\n\t\t#2 apps/files_external/lib/config.php(537): OC_Mount_Config::writeData('mjob', Array)\r\n\t\t#3 apps/files_external/ajax/addMountPoint.php(25): OC_Mount_Config::addMountPoint('Dropbox', '\\OC\\Files\\Stora...', Array, 'user', 'mjob', true)\r\n\t\t#4 lib/private/route/route.php(135) : runtime-created function(1): require_once('/home/mjob/Proj...')\r\n\t\t#5 [internal function]: __lambda_func(Array)\r\n\t\t#6 lib/private/route/router.php(250): call_user_func('\\x00lambda_1914', Array)\r\n\t\t#7 lib/base.php(763): OC\\Route\\Router->match('/apps/files_ext...')\r\n\t\t#8 index.php(28): OC::handleRequest()\r\n\t\t#9 {main}\",\r\n\t\t\"File\":\"apps/files_external/lib/dropbox.php\",\r\n\t\t\"Line\":50\r\n\t}\",\r\n\t\"level\":4,\r\n\t\"time\":\"2015-01-26T23:38:37+00:00\",\r\n\t\"method\":\"POST\",\r\n\t\"url\":\"/index.php/apps/files_external/ajax/addMountPoint.php\"\r\n}\r\n```\r\n\r\nCurrent master bd88874"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/71626118","html_url":"https://github.com/owncloud/core/issues/13698#issuecomment-71626118","issue_url":"https://api.github.com/repos/owncloud/core/issues/13698","id":71626118,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T10:51:45Z","updated_at":"2015-01-27T10:51:45Z","body":"Confirmed on master."}}