-
Java example to find recent updates (without having to poll) using webhook notification
Do you have an example in Java that selects recent adds/deletes to a dropbox folder do doesn't require polling? The examples that I pulled from Github do contain one that uses a loop that continuously polls to find recent updates. I have written a solution using webhooks. I would prefer not to have to poll whether in a…
-
SwiftyDropbox Swift 3 - No error response when Internet connection is down
Hello, Before upgrading to Swift 3 (Swift 2.2), I was getting an HTTP error when the wifi of my ipad was off. Now I am not getting anything. I am using the latest version of SwiftyDropbox and apart of that, eveything seems to work fine. I already saw in here: https://github.com/dropbox/SwiftyDropbox This: .response {…
-
Dropbox api v2 null - Do you want to allow this page to open “(null)”?
What would be causing my app to show "null" when running a Mac OS app called "ezReceiptMac" ? It is pointing to an existing Dropbox APP ID called "ezReceipt". My Mac OS app is sandboxed and has "Incoming" and "Outgoing" connections enabled. What else am I missing here? ezReceipt would like access to its own folder,…
-
The method files().saveUrlCheckJobStatus("asyncJobId") returns FAILED after sharing folder
Problem Using dropbox-core-sdk-2.1.2.jar in our application and created a full dropbox app to work with dropbox API. This is my code used to save an url to a dropbox path and check whether the save url is completed yet. Step 1. Saves a url to a dropbox path 1. SaveUrlResult result = getDropboxClient().files().saveUrl(path,…
-
/2/files/save_url/check_job_status
Hi! My app calls /2/files/save_url then follows up the async upload with /2/files/save_url/check_job_status. When dropbox responds with in_progress in .tag, it calls check_job_status later again. When dropbox responds with complete, it stops. When dropbox responds with failed, it starts from beginning calling save_url…
-
Way to programmatically detect if password protected file has been accessed
Is there a way to detect if a password protected file has been accessed or how many times? I mean, is there any way to get proof of access after the password input directly?
-
Dropbox api redirecting/opening the wrong Mac OS app
Why is the Dropbox api redirecting to the wrong app? I created a desktop Mac OS app called "DBMacApp" for testing purposes. I worked through the tutorial at https://github.com/dropbox/dropbox-sdk-obj-c and pointed this test app to my existing Dropbox app called "ezReceipt". Now I am trying to point to another app called…
-
Lots of 500 Internal server errors from API v2
Hello, we are getting lots of 500 error responses from API v2. Before we was calling the endpoint https://api.dropboxapi.com/2/files/list_folder with flags recursive and include_delete and I think the error was happening for accounts with too many files. The errors were thousands. Now we are using…
-
dropbox programmatically get "app folder" path
Hi, Is it possible to get the current path to the application folder I am using for my "App Folder" application? I know i could insert "/Apps/MyAppFolderName/" but this might change in the future, if I manually change my apps settings. Thanks
-
Why Does Obj-C Library Code Recompile when building for release?
I noticed that when I make a change to my code and build for debug, only my code gets recompiled. But when I build for Distribution, either for the App Store or for Ad Hoc distribution, the entire 800+ files in the Offical Objective C Dropbox Library gets recompiled. It is not too much of a bother since I don't build for…
-
add members to a file/folder
Hi, I am using the dropbox-sdk-java, via Maven, and i unable to find a way to add members to a file(and later to a folder). Could you provide with some pointers? I think i have to use DbxRawClientV2 DbxUserSharingRequests But for one, i can not itialize DbxRawClientV2, if I try DbxRequestConfig config = new…
-
v2 API
I have an app that used to run fine on the v1 API using xmlhttp requests. Migrating the app to v2 I can't get anything except authorization to work. The app has read/write access to its own folder only. For example: I want to get a list of the files/folders in a folder named "Recipes" in my app folder: I create an xmlhttp…
-
download excel file via API & webhock and save it locally
Hi All, The feature I am trying to implement is once customer updates a file, We will download the file and extract some data from it. We implement Dropbox webhook - https://www.dropbox.com/developers/reference/webhooks. (using Phyton). We are getting to f, metadat = client.get_file_and_metadata(path) We are trying to save…
-
How to use proxies with Dropbox API ?
dbx = dropbox.dropbox.Dropbox('***************') f = open("/home/net/a.py", 'rb') data = f.read() try: res = dbx.files_upload(data, "/a.py", dropbox.files.WriteMode.overwrite, mute=True) I want to use a proxy, how to do that ? Thanks!
-
[Java SDK V2] too_many_write_operations while uploading
Hello, we are uploading a quite a lot of files in 4-6 threads and it is very likely, that other users write into our repository at the same time. Today we started to get "too_many_write_operations" error: Caused by: com.dropbox.core.RateLimitException: {"error_summary": "too_many_write_operations/.", "error": {"reason":…
-
How do I upload a PDF file with Swiftly Dropbox
i can't seem to get a file upload properly with the new v2 Swiftly Dropbox. Can someone please give me and example? Im trying to upload a pdf file with images and markup text. thanks in advance.
-
Clarification on support for OAuth 1
It was recently announced that Dropbox API v2 would support OAuth 2 only. Does this mean that existing apps which use OAuth 1 will stop working when API v2 is rolled out?
-
Access token invalid after upgrading to API v2
Hello, My application has been using the Dropbox API v1 for a while now, and I'm in the process of updating it to support Dropbox API v2. The issue I'm having is that existing v1 access tokens (which my app stores) are no longer working when communicating with the v2 API. Attempts to use a v1 access token yield a "access…
-
Objective C Console Errors Should I be worried?
Hello, (First sorry for the new user name, it wouldn't allow me back in...) I sucessfully upgraded my app to use API v2 Objective C - however when running from the simulator when checking if I have an active account I get the following errors in the log - but they don't seem to stop anything and I can't locate where they…
-
[has_more] => 1 (but there are no more files to retrieve)
Hello, i found a problem on calling shared links, that i've finally resolve, with a further check after, but it is not clear to me (maybe it is normal). The App type is an App folder, in the dropbox test account there are more files, but are out of the dedicated APP folder. A curl to get shared links, return [has_more] =>…
-
Dropbox for Business get user id from email address
Hi, Is it possible to get a dropbox for business userid via the users email address. I can see an end point to get all users. Just want to double check if there was another endpoint to search for a user. Thanks
-
DbxRequestUtil.unexpectedStatus
Started seeing a lot of these today, what do they mean? Caused by: com.dropbox.core.ServerException: at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:296) at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:107) at…
-
Auth Code validity and rate limit.
Hi Team, I have 2 questions. 1. What is the auth code time limit or validity like 2min or mins. can anyone tell. 2. What is the rate limit of API. (API limits). I am using API for mainy user creation/updation/deletion operations. Thanks.
-
SwiftyDropbox was compiled with optimization - stepping may behave oddly
Using Carthage to build and use Swifty DropBox. For the main part it works well, but seem to be running into an issue relating to optimization every now and again as the subject line says. How can I compile without optimization and install with Carthage? Thanks
-
Error response is coming into different different format
Hi, I have tried to get account through this API https://api.dropboxapi.com/2/users/get_account using SOAPUI and passing account_id in request body. { "account_id":"dbid:AACCsTU3d_-j5rfgJkGLObJErDLctQmUZw0" } If account_id is incorrect but having 40 character then error is coming in to JSON formate { "error_summary":…
-
Invalid OAuth token handling
I'm writing directly against the v2 HTTP API and while testing our login and error handling, I found some unexpected results. If I take a valid OAuth token and corrupt it (change the first character, for example), or just give it a garbage string (say, "abc") the response is either 500 Internal Server Error or 400 "The…
-
Cocopods API v2 installation "Unable to find a specification for `ObjectiveDropboxOfficial`"
Hello, I am attempting to install API v2 into a sample Mac OS project using cocoa pods and get "Unable to find a specification for `ObjectiveDropboxOfficial`". I don't have a lot of experience using dependency managers. What am I doing wrong? Please see output below. Podfile content:…
-
SwiftyDropbox error handing for thumbnails
Finishing off my dropbox based app and trying to put in some comprehensive error code. Downloading thumbnails within it and crafted this method based on the documentation. Seems to work, but wanted to double check I am on the right track. func doThumbError(error: Any) { switch error as!…
-
HTTP API Regional URL
I have read that you now have 11 regional zones. If we use the HTTP API do we need to add support to support this? Or is this routed by the API infrastructure itself.
-
How to differentiate between file and folder delete in list_folder_continue call
Hi, I am working on webhooks for dropbox and struggling to find a way to differentiate between file and folder deletion for https://api.dropboxapi.com/2/files/list_folder/continue API call. Currently for both the events i am getting exactly similar kind of response. i.e, File delete: { "entries": [ { ".tag": "deleted",…