-
direct download link - mobile phone
hi, i am using the api to upload movies with MP4 extantion. and using DIRECT download links (DL=1) to download them. when i download the links in a desktop computer, it saves the file with the orginal filename and the MP4 extantion. but when i am using the link with a mobile phone (i tried several phone android) it saves…
-
Error message: The app has reached its user limit
Hello, I know this question has been answered before, but my issue is not resolved. The app is in development, number of max users allowed are 500. I am the first tester. I get the error message "the app has reached its limit", see screenshot attached. Thanks for your help
-
objc API: filesRoutes listFolder method not returning files
Hello, My app has been on the iOS app store for years syncing successfully with dropbox. In the past few days many customers have encountered an error that seems to be a result of the following method not returning any files, but it does return one folder: [[dropbox.filesRoutes…
-
File properties
Can anyone tell me why exactly I need to create a team to add file attributes to a file? All I want to do is add a single attribute called "FileParentIdentifier" (which will hold a string value i.e name of folder". It is very easy to add a custom attribute to file in Google Drive SDK. But in Dropbox, we need to create a…
-
Empty response for /get_current_account
Hi, some years ago I used the dropbox Api v1 and now I try to switch to v2. I managed to get the authorization done but now I'm struggeling with the /get_current_account endpoint. my php looks like that: public static function dropboxAuthorize($token) { $curl = curl_init(); curl_setopt($curl, CURLOPT_VERBOSE, 1);…
-
Issue in get preview api v2
Error in call to API function "files/get_preview": The request body is supposed to be empty, but it isn't; got "{\"path\":\"\\/2019_DB\\/Copies\\/A123\\/NEW\\/21004_1910036125.pdf\"}" $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch,…
-
Using .Net SDK to delete folder and its files?
I am looking at the SDK documentation and I can't find a method where I can call to delete a folder and its files. Currently I am creating a temp folder for hosting temporary files each day and then I want to delete it by using my app after a certain time expiry. I am creating the folder using the .Net SDK…
-
Unexpected response code 400
Hi, I had been able to successfully connect to dropbox using dropbox api. I am using the bundle dropbox-core-sdk 1.7.6 from maven repository. But since recently I am getting the below error from the same code. Caused by: com.dropbox.core.DbxException$BadResponse: unexpected response code: 400 at…
-
Auth.startOAuth2Authentication. Android returns "... User may have restricted profile"
<Also asked on StackOverflow> I'm adapting code from https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android to allow my photo-saving app to directly store files into Dropbox. I think I've managed to add the various libraries and functions that are required. However, when the app attempts Dropbox…
-
Android API get account email
I am not able to get the user account email after the authentication: I have this code (in Kotlin) on my onResume mDBApi!!.session.finishAuthentication() val accessToken = mDBApi!!.session.oAuth2AccessToken val client = DbxClientV2(DbxRequestConfig.newBuilder("dropbox/MyAppName").build(), accessToken) val email =…
-
files.listFolder error code -999 cancelled
I have the following code: let client = DropboxClient(accessToken: "<ACCESS_TOKEN>") print("!!! client=", client) client.files.listFolder(path: "").response { response, error in if let result = response { print("Folder contents:") for entry in result.entries { print(entry.name) } } else { print(error!) } } } I'm getting…
-
filesListFolder
I found old code at GitHub/SwiftyDropbox/PhotoWatch: if let client = Dropbox.authorizedClient { // List folder client.filesListFolder(path: "").response { response, error in if let result = response { println("Folder contents:") for entry in result.entries { println(entry.name) } } else { println(error!) } } } I figured…
-
`filesSearchMatch` has no `media_info`?
I'm using Dropbox Javascript SDK. In documentation, (http://dropbox.github.io/dropbox-sdk-js/global.html#FilesSearchMatch) `FilesSearchMatch` could have `FilesFileMetadata` and, `FilesFileMetadata` could have `media_info` optionally. But all my '.jpeg' photos which were taken from cameras(many kinds) have no `media_info`…
-
mulitple files upload doesnt work
Hi, I am currently using Files.UploadAsync to upload files to a folder. However, it is very slow to process if there are a bunch of files. I looked through the documentation and there isn't any method to upload a group or files with just a single call? Below is my code to upload single file var file =…
-
Get info about created app folder
Hello, I created an application with App Folder access type and i would like to get the metadata of application folder after it's creation. Is there a way to do this? I know that dropbox creates it under /Apps/<app_name> but in my locale it was created under /Приложения/<app_name> Thanks for help!
-
What format should the "Path" be for Dropbox APIV2
I am trying to upload a file in a path using dropbox api however, using the api explorer via: I am getting Error 400: for a wrong path I believe. If I for example have a shared folder path via /Files/SharedPath/Uploads/. What would be the proper path input to satisfy the example above? Thanks, b_diouf
-
Dropbox SDK
Hello, Can somebody please let me know how to get Dropbox sdk for development purpose. Is it free to use? Regards, Sukrut Gadre
-
Download file
Hello! I shared the folder: Got the file id using the method: /files/list_folder I'm trying to download a file by id: curl -X POST https://content.dropboxapi.com/2/files/download \ --header 'Authorization: Bearer <<api_token>>' \ --header 'Dropbox-API-Arg: {"path":"id:xRv0UGd0k-AAAAAAAAACgA"}' The file is downloaded…
-
Get the list of files
Hello! Sorry for my English. I have a shared link. I need to get a list of files. I execute the query: curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header "Authorization: Bearer <<my_app_token>>" \ --header "Content-Type: application/json" \ --data "{\"path\":…
-
Search API request
can you please explain the search API request limit of a user for a minute?
-
Video uploaded via api cant be played
I tried to upload a mp4 video that is above 150mb with the session api and I successfully uploaded it to dropbox without a single error, but the video just wont play. Accessing the video via a shared link with raw=0 results in the browser not playing the video because the file is in a not supported video format. Does…
-
Dropbox and Bulk Restores
Has anyone figured out how to use the API to list all events for a given dropbox? Finding specific ones in the past to ask support for help with them is problematic, as after a year back, you have to manually change the URL for each date to see what events occurred on a given day. And with Packrat, all deletes should be…
-
SDK javascript : Tester la validité de la clé
Bonjour, Pour accèder a mes fichiers Dropbox, je créé l'objet dbx comme suis: dbx = new Dropbox.Dropbox({accessToken: DROPBOXAPIKEY}); dbx à toujours une valeur, même si la clé n'est pas valide. Comment puis-je tester dbx pour savoir si la clé est valide ou non ? Merci de votre réponse. Yvan COYAUD
-
C# SDK - Is there a way of restricting a property search to a start path?
Hi all, We have a problem where we need to restrict a property search to a start path just like a normal search, code below (C Sharp): //Here we set a path to search from var search = await client.Files.SearchAsync(path, "test"); //Here we need to set a path to restrict users from seeing images they shouldnt but currently…
-
Time out for 250 MB file download
Below code getting terminated with error: Read timed out. (read timeout=30) for 250MB file import dropbox dbx = dropbox.Dropbox("TokenId") print "download started" md, zipFile = dbx.files_download_zip("Filepath") writer = open("download/Test.zip", 'wb') writer.write(zipFile.content) writer.close()
-
Get all shared links in specifick folder
What is the way to get all shared links from specific folder I am using Python SDK, so I see that there is a sharing_list_shared_links method, with 'path' arg. It returns only totally all links I can access or specific one which I specify, but I can not choose the folder which content to display.
-
409 reset error for list_folder/continue api from business endpoint
I'm trying to retrieve folder items of team member by following this link https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-get-all-the-files-and-folders-of-a-business-account/m-p/281388. I am able to get result from list_folder api but when I pass cursor to list_folder/continue api I get below error. {…
-
Create team folder in business endpoint
I am trying to create team folder with Dropbox Business Standard plan in dropbox api explorer curl -X POST https://api.dropboxapi.com/2/team/team_folder/create \ --header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\ --header 'Content-Type: application/json' \ --data '{"name":"test"}' But it gives me…
-
ASP.NET shared link to a folder. Is it posible to choose one item by name to download it?
So, i have a project in ASP.NET MVC. I have a shared link to a folder with lots of photos in jpg formatt. Using ListFolderAsync i can see the names of the archives(all the metadata, in fact) but since the shared folder it's not from my dropbox the metadata does not contain the paths of the items. I Would like to use…
-
Trigger or simulate errors in Python SDK
Hi, Apologies if this is a duplicate question, but I haven't been able to find anything that covers this. I'm developing a Python API with the Dropbox SDK to work with our files on Dropbox. I'd like our API to be able to handle Dropbox errors gracefully, using errorhandlers and the Dropbox exception classes, but for some…