{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/dropbox-js/issues/214","labels_url":"https://api.github.com/repos/dropbox/dropbox-js/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/dropbox-js/issues/214/comments","events_url":"https://api.github.com/repos/dropbox/dropbox-js/issues/214/events","html_url":"https://github.com/dropbox/dropbox-js/issues/214","id":55025038,"number":214,"title":"Access token and using the same account throughout","user":{"login":"marxo","id":431616,"avatar_url":"https://avatars.githubusercontent.com/u/431616?v=3","gravatar_id":"","url":"https://api.github.com/users/marxo","html_url":"https://github.com/marxo","followers_url":"https://api.github.com/users/marxo/followers","following_url":"https://api.github.com/users/marxo/following{/other_user}","gists_url":"https://api.github.com/users/marxo/gists{/gist_id}","starred_url":"https://api.github.com/users/marxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marxo/subscriptions","organizations_url":"https://api.github.com/users/marxo/orgs","repos_url":"https://api.github.com/users/marxo/repos","events_url":"https://api.github.com/users/marxo/events{/privacy}","received_events_url":"https://api.github.com/users/marxo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-21T14:25:47Z","updated_at":"2015-01-21T19:31:39Z","closed_at":null,"body":"I want to create a static web app that would always use my account and files in a particular folder. I'm using dropbox-js for utilizing the API. I think i should use the access_token that I generate from the App Console, but when I try this:\r\n\r\n    var client = new Dropbox.Client({\r\n        key: \"y2q6wsnp17gvbcg\",\r\n        token: \"my-access-token-here\",\r\n    });\r\nI get nothing. Basically, I use dropbox.readdir(\"pathtofolder\") and without the token it works, obviously only when I'm authenticated, but with the access token it just does nothing.\r\n\r\nAnyone had any experience with this?"},"comment":{"url":"https://api.github.com/repos/dropbox/dropbox-js/issues/comments/70905057","html_url":"https://github.com/dropbox/dropbox-js/issues/214#issuecomment-70905057","issue_url":"https://api.github.com/repos/dropbox/dropbox-js/issues/214","id":70905057,"user":{"login":"pwnall","id":11460,"avatar_url":"https://avatars.githubusercontent.com/u/11460?v=3","gravatar_id":"","url":"https://api.github.com/users/pwnall","html_url":"https://github.com/pwnall","followers_url":"https://api.github.com/users/pwnall/followers","following_url":"https://api.github.com/users/pwnall/following{/other_user}","gists_url":"https://api.github.com/users/pwnall/gists{/gist_id}","starred_url":"https://api.github.com/users/pwnall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwnall/subscriptions","organizations_url":"https://api.github.com/users/pwnall/orgs","repos_url":"https://api.github.com/users/pwnall/repos","events_url":"https://api.github.com/users/pwnall/events{/privacy}","received_events_url":"https://api.github.com/users/pwnall/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T19:31:39Z","updated_at":"2015-01-21T19:31:39Z","body":"@marxo Do you see the `/metadata` network request for the `readdir` call in the Network tab? If so, it seems like either you have a bug, or dropbox.js chokes on something in the output. Is there any chance you can point me to the code that you're working on, so I can see what's broken?"}}