We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
chirstius
Dropbox Staff
8 years agoRe: Google App Engine and Java SDK GetTemporaryLink Error
Does this app have full Dropbox access, or is it within an App Folder?
It's possible the path you are providing in code is invalid. For example, if you're app is hosted in an app folder, it will show up as:
/Apps/App Name
When viewing it via the web or desktop UI. However, within the application, and for all calls to the API, the /Apps/App Name folder is actually the root "/" folder.
A common error is to provide the "full" path to a file when calling against an app folder-based application:
client.files().getTemporaryLink("/Apps/App Name/Folder/file.name");
rather than just providing the path information from the application root folder:
client.files().getTemporaryLink("/Folder/file.name");
You posted a code sample showing the method, and it takes a 'path' argument. Can you verify if your application is App Folder-based, and if so, verify that the path information being passed in is correct?
Thanks!
-Chuck
No RepliesBe the first to reply
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!