-
Migrate from V1 to V2 API Crash on DropboxClientFactory.init(accessToken);
Hello, So first I removed from my android app all V1 API code. I have an eclipse project. I added all .jar files for V2 API 3.0.3 and dependencies. I looked at the example (which has no comments). So for now i have just placed all authentication into my OnResume. But it crashes when executing…
-
App Analytics user details
Does App analytics (Number of API calls your app made to Dropbox each day) include users from China?
-
Newbie: Create Folder / Add file from Cloud apps to Dropbox via API
Hi All, #Newbiehere.' I need to create Folder(s) in Dropbox, based on specific record-triggers @ Zoho creator. Following which, I need to upload files (txt / docx/ xlx/ppt/png/jpg/pdf/zip/rar) to definite folders in dropbox via API. Kinda lost where to start, where to get auth token etc. Any help is great help Thanks in…
-
For create shared link API which business account supports advanced settings like password?
Hi, In API it is said that creating shared link with visibility other than public and setting expiry date is not supported for Basic users. Could anyone please tell which accounts support these options? What are the steps to be followed in order to get these access? Thanks in advance, Akshata
-
Objective C [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] limit number of files listed
When someone list the contents of a folder [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] is there a limit of 1000 files shown? In my app when I have a list of 6000 files in a folder there are some files not showing up.
-
How to unlink dropbox from my app programaticaly?
with API 1 I did this: dropboxApi.getSession().unlink(); What is the equivelant of that in API 2?
-
Get shared folder owner id
In the V1 SDK, when you got the list of shared folders using 1/shared_folders there was an owner object containing the uid of the owner of the shared folder. This seems to be missing in V2. Is there a way for me to get the dropbox user id of the owner of the shared folder?
-
Are webhooks down?
Hi there, Are there any issues with the webhooks currently? My app stopped receiving notifications when I add new files to the app folder.. Cheers, Jesper
-
Dropbox only able to batch upload less than 1000 files
Is there a 1000 limit for the number of files you can batch upload to dropbox? I get this error. Is there a way to get around it? Is the 1000 limit only for 1 folder or the entire dropbox folder? For example if i have 6000 files I put each 1000 files into a folder so I would have 6 folders?…
-
Uncaught ReferenceError: Dropbox is not defined
I import the Javascript SDK like this: <script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script> And then it hangs at: var dbx = new Dropbox({clientId: DBX_CLIENT_ID}); Saying Dropbox is not defined. What might be the issue?
-
Dropbox Saver is failing
Hi. I could not load the next file https://johnguio.files.wordpress.com/2013/09/clase-magistral-laminacic3b3n.pdf Dropbox saver gives me an error Thank you for your attention
-
Can't install: 192.168.1.18 port 22: Broken pipe
Hi, when trying to install the API the process starts OK but ends with 192.168.1.18 port 22: Broken pipe and the API is not installed. I would appreciate any hint on how to fix it. Many thanks in advance Complete trace below root@Yun3:~# pip install --target /mnt/sda1/python-packages dropbox Collecting dropbox…
-
API v2 access token validity
I've 3 questions here: 1. Does authentication token generated for an app have expiry? 2. I've a DropBox app and have authentication token generated for my own account using website. Do I need to care for v1 API deprecation? 3. Does clicking on "Generate access token" invaidate the previously generated token?
-
Dropbox android sdk 1.6.3 supports v2 or not.?
I have developed android app with Dropbox android sdk 1.6.3 and it uses startoauth2 for authorisation purpose. Now I am bit confused if I am already working with Dropbox Api v2 or changes are required in app to make it compatible with v2?
-
API raises exception when uploading big files in session
Hi, I have been trying for a few days to upload a big file into my Dropbox account using the python API, i have tried using the following code: f = open(file_path) file_size = os.path.getsize(file_path) CHUNK_SIZE = 4 * 1024 * 1024 if file_size <= CHUNK_SIZE: print dbx.files_upload(f.read(), dest_path) else:…
-
Objective C batch download
Would just like to know if there is a batch download method available. http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadUrl:rev:overwrite:destination: I have looked through the api but it doesn't seem to exist And if its not. is a…
-
Create a folder
I want to create a folder as soon as the user login in the app, i tried the following function to create folder but i can see no folder is created.. I am calling this function after the login.. CreateFolder() { let args={ "path": "/Homework/math", "autorename": false } let headers = new Headers();…
-
Script errors using oauth in WebBrowser control in C#
We implemented oauth in a C# WPF application following this blog post: https://blogs.dropbox.com/developers/2014/04/dropbox-authorization-in-a-windows-forms-app/ On our test systems it is working fine but some customers are reporting script errors on https://www.dropbox.com/1/oauth2/authorize/... "Object doesn't support…
-
Audit event 'web_ip_changed'
Hi, In the audit log events, there is an event type 'web_ip_changed', Can someone explain what exactly this event mean. Could not find in the documentation. Thanks, Murali
-
.NET Exchange authorization code
I'm using on my application the following: DropboxOAuth2Helper.GetAuthorizeUri(<client_key>); This shows an authorization code on the browser. Once pasted back to the app, I can't find anywhere how to exchange it for an access token. I'm using c# on desktop app.
-
Upload/Download files via API using AWS Lambda - Rate Limiting
Hi all, I am designing a system to copy files to/from Dropbox via the HTTP API using AWS Lambda functions. We may be copying large quantities of files (up to 10,000 in a batch) using a single API key. As you may know, AWS Lambda can fire thousands of Lambda functions simultaneously. This could mean that the API gets hit…
-
Http 504 Gateway Timeout when trying to get upto 1000 or more files in c#
I am trying to fetch a folder using C# dropbox api and I am paginating results as well but still I get timeout on it as it contains more than 1000 files. Here is my pagination code: var children = await GetDropboxClient().Files.ListFolderAsync(dbxItem.PathLower == DROPBOX_ROOT_PATH ? string.Empty : dbxItem.PathLower);…
-
Help downloading a non-image file using the API
I am trying to use the v2 API to to get a temporary link to a file. JPG files work fine, but I have some .dcm files. These are medical image DICOM format files. I need to be able to create a temporary link to this file so that I can download it from my own web application. I am calling the API with this message:…
-
Which intent to lunch dropbox app to edit text file?
I am on android working with official dropbox app. Which intent and class to lunch dropbox app and direct edit some text file? StartActivity(); Action: android.intent.action.EDIT Package: com.dropbox.android Class: com.dropbox.android.activity.DropboxBrowser Flag: FLAG_ACTIVITY_NEW_TASK Data URI: file://ABC/123.txt Didn't…
-
[Java] How to use getMetaData() API in v2 to fetch the folder results
I was already using getMetaData() API in v1 to fetch the folder content. How to use the same to fetch the folder content in v2 as I can no longer find the contents API in v2?
-
Missing or empty HTTP "Content-Type"
I am having a terrible time trying to complete a large file upload using REST/HTTP Post. I am able to start an upload session and append to an active session but when I call finsih I get the following error: Error in call to API function "files/upload_session/finish": Missing or empty HTTP "Content-Type" header. Expecting…
-
preview_url vs url
Hi, Could you please exaplain what is the differnce between preview_url and url field? Both of them are returned from the call sharing/get_file_metadata. The url field is part of the link_metadata (is this feature is still unreleased?) The value in both fields is the same. Thanks, Saar
-
java.net.UnknownHostException
Unable to resolve host "api.dropboxapi.com": No address associated wi
-
Metadata instanceof DeletedMetadata and FileMetadata
Hello, I would like to know if there's any way of check if the Metadata of a certain entry is of type DeletedMetadata and FileMetada but not FolderMetadata. Like the following: if (entry instanceof DeletedMetadata && entry instanceof FileMetadata) { log.info("Deleted file: "+entry.getPathLower()); } That's why I only store…
-
adding credential hardcoded in android instead of asking the client
I have this code in my android app and I want to publish files to my dropbox not to the user dropbox so the credintial should be hardcoded instead of asking the user for them, so I think this line mDBApi.getSession().startOAuth2Authentication(MyActivity.this) should be change but I couldn't know what to replace it with,…