-
Know if access_token is for an App Folder or Full Access?
We have a bunch of mixed up authenticated accounts from the past few years in our database, where some were given "Full Access" early on and later it was changed to just using the "App Folder". Is there any way of using the API to know if the access_token we have is within an App Folder, or to the whole account? We…
-
/metadata/link -> api v2 now forces user authentication?
In API v1, my app enjoys the ability to call /metadata/link on a shared link to find out information about it, WITHOUT requiring the user to login. This is because the v1 endpoint only requires client auth & secret. In API v2, the migration guide specifies to use /2/sharing/get_shared_link_metadata, which requires USER…
-
i have problem with dropbox chooser, can someone help me
everytime i get this error {"error": "Invalid app_key"} how can i fix this ? i am using angular JS in my client side here is my code. scripts, <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropbox" data-app-key="vw2oz6a61zahabi"></script> html <a…
-
Best way to know if a token is still valid?
Hi all, i look into API docs endpoints, and i can't find out the correct way to establish if a token is still valid or not. Or better i could but a suggestion maybe is best ... I mean this: on an user interface, the generated token is shown to user when he load his profile. Than i would like know before than the page load,…
-
[Java SDK V2] What happend to forgotten partially uploaded files?
Let's assume that I start uploading some files do Dropbox via Java SDK v2 by command like this sessionId = tested.files().uploadSessionStart() .uploadAndFinish(in, CHUNKED_UPLOAD_CHUNK_SIZE) .getSessionId(); dbxCliend.files().uploadSessionAppendV2(cursor) .uploadAndFinish(in, CHUNKED_UPLOAD_CHUNK_SIZE) But then I will…
-
How to retrieve shared link Dropbox API?
Hi, I've been working for hours on this, I'm using C# and I'm working with Dropbox.Api I have a folder in DropBox with .png files, I want to use a raw link to those .png files so I can use it in my code like this :<img src="dropbox_link_to_image"> I've used the CreateSharedLinkWithSettingsArg() method and it creates a link…
-
Help realise download file from Dropbox folder on Visual Basic 2015
I need help in realise downloading file from Dropbox folder on Visual Basic 2015. I found example code only on ASP.NET, but I can`t translate it to Visual Basic code. async Task Download(DropboxClient dbx, string folder, string file) { using (var response = await dbx.Files.DownloadAsync(folder + "/" + file)) {…
-
[Java SDK V2] How to do batch upload?
Hello, I am trying to make Batch upload work by using JAVA SDK v2. I read this documentation and tried to perform a batch upload. There is a general algorithm, which should use direct HTTP calls. 1. First point sais "Group files that are being uploaded to into one or more batches....". I don't know, what exactly is Group…
-
How do I create a shared link with expiry date from API (.Net SDK)?
Would you be able to give me an example how to add an expiration date to a shared link? This is what I have so far: Dropbox.Api.Sharing.SharedLinkSettings sls=new Dropbox.Api.Sharing.SharedLinkSettings(); ???? var result = await dbx.Sharing.CreateSharedLinkWithSettingsAsync(remotePath,sls);
-
Help Android Core API .search() returns Zero results Help
For no reason, the following code stopped working correct and the .search() returns an empty Entry list. This app has been working without problems and alterations for months, serving hunderds of users. The file "myfile.txt" is always present inside the folder, but the .search() method cannot find it anymore. Please help…
-
create_shared_link: stdClass Object ( [error_summary] => path/not_found/.. [error]
Hello ... i'm stuck in a stupid thing. Two different methods, one create folder, the other create_shared_link_with_settings. I create a folder, so i create a shared link for it immediately after, all work ok. I so try to call on another part of the code, the same method create_shared_link_with_settings, which return,…
-
What exactly is namespace
Hello, I read this documentation and I did not understand, what exactly is meant by "namespace" which is being locked. The documentation sais this: "You can think of a namespace as a collection of files and folders in the internal representation of the Dropbox file system. Each user’s private Dropbox folder maps to a root…
-
Upload a file with a given path
m using the new Dropbox SDK v2 for .NET. I'm trying to upload a document to a Dropbox account. public async Task UploadDoc() { using (var dbx = new DropboxClient("XXXXXXXXXX")) { var full = await dbx.Users.GetCurrentAccountAsync(); await Upload(dbx, @/MyApp/test, "test.txt","Testing!"); } } async Task Upload(DropboxClient…
-
Using save_url endpoint w/out knowing the file type
Hi everyone, heres the thing: I have an app where user can provide links to resources (direct download). These resources could be anything from an image, to fonts or zip files. We actually don't know the specifi filetype of each of these files. Within the app, other users can save these files to their dropbox, and for that…
-
Disable desktop notifications for app's folder
I'm using Dropbox Sync to write down small files to sync things in my iOS app. Because records and datastores are too limited in my case, I can't use Datastore. Unfortunately, these internal files are generating a lot of notifications on my desktop. It annoys the user. The solution is to disable sync of this folder on…
-
Permission Denied - Okhttp Dispatcher
I am having trouble uploading to my folder because of a permissions error Here is my error: FATAL EXCEPTION: OkHttp Dispatcher Process: com.example.kestites.exportdatabase, PID: 3131 java.lang.SecurityException: Permission denied (missing INTERNET permission?) at java.net.InetAddress.lookupHostByName(InetAddress.java:464)…
-
SwiftyDropbox Getting token when handling return URL
Writen an app which needs to connect to multiple drobox account so following the instructions here http://dropbox.github.io/SwiftyDropbox/api-docs/latest/ I am handling the return URL after authorising and the page says * "at this point, the app that is integrating with the SDK should persistently save the tokenUid from…
-
Dropbox Chooser Captcha Security Issues
My company is working on utilizing the Chooser in our web app. We have been experiencing a lot of intermittent issues with being able to view the login page in the the Chooser popup window. This is also specifically visible from your own demo on the following page: https://www.dropbox.com/developers/chooser From a user…
-
FileMetadata - path display method
Hi, My question is related to -> https://www.dropboxforum.com/t5/API-support/Any-way-to-get-mixed-case-path-for-a-file/m-p/158703 I have the following piece of code (using the java sdk v2): result.getEntries().stream().forEach(m -> { if (m instanceof DeletedMetadata) { LOGGER.info("[DBX WEBHOOKS] Deleted: " +…
-
Swift 3.0 - no httpError when network connection down
when there is no network connection, the error type is NOT httpError although the description clearly contains the correct domain and code of -1009
-
Swift 3.0 DropboxClientsManager.authorizedClient.files.download got very slow response
Hi I am a new swift developer and currently I'm working on retrieving photos from dropbox. The thing is after retrieving the photo path, I manage to download the photo from that path by using the SwiftyDropbox dowload. However, each response take very long to fully retrieve photo url. Please let me know in case I need to…
-
DropBox API Explorer V2 still uses V1 oauth
I'm trying to setup V2 authorization. From the DOCS, it looks like I use : https://www.dropbox.com/oauth2/authorize However the API explorer(dropbox-api-v2-explorer) has a [Get Token] button that issues a call against: https://www.dropbox.com/1/oauth2/authorize This isn't very helpful since it doesn't match the…
-
Dropbox Saver
What are the limits of dropbox saver in terms of file size and number of files that can be uploaded to dropbox?
-
Dropbox saver is not working
I want to save a file, dropbox saver throws me a message that says that the file is being saved, but it is never uploaded. The file weighs only 30 mb but never saves it. After waiting for a while, dropbox saver throws me a message: Error: This download attempt timed out. Please, thank you for your cooperation.
-
problem initializing DropboxClient instance
I am switching my objective-c app from v1 to v2 - all is working ok under v2 but i receive the "Allow" dialog each time my app is invoke even after I am already logged in. This is not how it works under v1.
-
[Java SDK V2] How to find out whether file exists or not
-
Is there an API to callback my app after I have uploaded a file?
Hi Dropbox team, I have created a website which is integrated with the Dropbox API. My website is working like the below. 1. The site receives the data of the file and saves it on my website server. 2. The site calls the Dropbox API to upload it into dropbox's folder. 3. The site saves the meta info to database. My…
-
Dropbox Sync API alternative
we are developing app in xamarin ios and we are using dropbox sync api component, As we know dropbox sync api will soon deprecated what alternative api/components api can we use to authenicate via dropbox app in ios.
-
NoSuchMethodError while Uploading
Hi, Whenever i try to upload a file, once in a while, i m getting the below message. Error Message: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonToken.isStructStart()Z Those Files are also not getting uploaded. Please do the needful. Thanks
-
Compilation error whren installing API
Following dropbox ducomentation for compiling API seems some classes are missing: DbxTeamClientV2Base, DbxClientV2Base and DbxAppClientV2Base and compilation ends with error. Below the detailed problem: Starting a new Gradle Daemon for this build (subsequent builds will be faster). Parallel execution with configuration on…