-
Setting Metadata on files - Python API
Hello! I've just started using the Dropbox Python API, but am a bit confused on how to add custom metadata to new or exists files. I've tried to defined my own PropertyGroup with the data stored in a PropertyField (as shown in the code below). However, passing this as a parameter of dbx.files_upload() causes the process to…
-
Objective-C Dropbox API very different from v. 2.0.6 to 3.10.0
I had been using ObjectiveDropboxOfficial version 2.0.6 sinc 2016. Today I updated the SDK using cocoapods "pods update". All seemed to go well and it said I now have version 3.10.0. Initially I got "file not found" in my application file when I try to import the dropbox api header. I solved that by adding $(inherited) to…
-
SearchAPI results are missing or duplicated.
I use SearchAPI to get results, but there are missing files and duplicate files. This happens on both v1 and v2. This is the X-Dropbox-Request-Id: a2bd592ec10ed199fa6bf34239e69788 Missing files: test (2001).jpg test (2002).jpg test (4987).jpg test (4994).jpg test (5991).jpg test (6988).jpg test (7990).jpg test (7993).jpg…
-
Business account list folder !
Hello, I use a corporate account and I would like to view all the team's folders and the files contained. But when I use this "https://api.dropboxapi.com/2/team/team_folder/list", I have this result: Thanks for your help.
-
Java: Get Download Link / File as stream?
Hi all, How can I get the file from Dropbox: a) As download link b) As stream Thank you
-
C# Dropbox.api nuget - Upload via proxy
Hi, I am using Dropbox.api nuget in C#. I would like to know if there is an option to set a proxy that the files will be uploud using it?..
-
Apply For Prdouction - Upload Android .apk later
I have a question reagarding the "apply for production" status: How can I upload an .apk file or provide a link to the prototype AFTER I clicked on "apply for production". Many Thanks Tarek
-
Android Storage Access Framework support
Hi, Love Dropbox! Are you going to support Storage Access Framework? Best Jonas
-
Using CSVhelper with Dropbox - need a stream
Hi. I'm currently wanting to use https://github.com/JoshClose/CsvHelper with a Dropbox CSV file, but it takes a stream. I'm looking around but can't find anything about getting a stream (I've been using DownloadAsync to date to get files, and yet for some reason my searches aren't even bringing up the doco for that for me…
-
API: Folder and Recursive search for File or Folder by name (and by extension)?
Good day, Through the main user console of an Dropbox account, one can search for files by name: https://help.dropbox.com/files-folders/sort-preview/search It is not clear looking at the API documentation if it possible via API to search for a file (by name or extension) and for a Folder (by name)? Search either: * Only…
-
Redirect without "Enter this code into" -> redirect not working (JAVA SDK)
Hi all, I have a problem to integrate Dorpbox in my app. I have entered in the GUI a redirect URL: http://localhost:8080/portal/cloudHoster.jsf I´m generating the url which I´m using to redirect to Dropbox to login / approve: public String generateAuthorizeUrl() { // Read app info file (contains app key and app secret)…
-
How to remove mountable folder.
Hello. When I refuse invitation of sharing folder, how can I remove mountable folder via API? I want to delete the folder from results of list_mountable_folders and list_folders endpoints. Thanks.
-
Search does not return all files
Upon searching for a file with the filter of "File Name" it does not return the file I have just uploaded. The file is being uploaded via the api, and I can confirm the file is there in the dropbox web UI. But when the api searches for the file, it does not find the file. For exmple I have the file I need in folder…
-
Error in Auditlog API with start date parameter
Hello, I am facing issue while verifying Curl Dropbox API in json for audit logs by specifying start time and end time, Kindly help me to solve this issue curl -X POST https://api.dropboxapi.com/2/team_log/get_events --header "Authorization: Bearer ABC" --header "Content-Type: application/json" --data "{\"limit\":…
-
Is there any way to check that access token is already generated for the particular user?
Hi, I am using dropbox java sdk for generating access token using oauth for a user and further i am using that access token to getting the file from dropbox to our project.But the problem is that the token is generated every time the user logs in,which i am thinking is not a good way.Altough old access token and new access…
-
sharing/get_folder_metadata fails with "invalid shared folder ID"
Hi, so I tried getting the metadata of a member's shared folder (the one that I got from the members/get_info endpoint), and I got "invalid shared folder ID". I tired using both the user member id (with "Dropbox-API-Select-User") and the admin member id with "Dropbox-API-Select-Admin" (according to the documention its a…
-
Can't use the content.dropboxapi
I want to know what i did wrong in this code. Because it is giving error. I am new to this so plz help. Error: {"error_summary": "path/not_found/..", "error": {".tag": "path", "path": {".tag": "not_found"}}} public class DropboxController { //Fetched from URL String code; String accesstoken; public DropboxController() {…
-
How to upload multiple files without getting blocked C#
Hello, I'm currently coding an application wich will be used by 23 persons/computers at the same time. There may be some offline, but at some point it could be 23. I don't know if this is the best way of doing this, but I need to update a file in dropbox, with the current datetime, so I would know the last connection time…
-
App Authentication
Hi, I have a question regarding authentication types. I tried to use App Authentication, but it seems that this method does not work with the v2 API. According to the documentation (https://www.dropbox.com/developers/reference/auth-types), /1/metadata/link acts as the endpoint for App Authentication, which is a v1…
-
Dropbox API access files on shared link without authentication
Hey everyone, i'm currently writing a new android app for a football club of my village and i want to load some images from a dropbox folder using a shared link. Is it possible to load files from a shared dropbox link folder without authenticating the user using the dropbox api for android. I'm searching for a solution…
-
create_shared_link_with_settings responding conflict 409
Hi, create_shared_link_with_settings responding 409 conflict error but it is passing data in exception. So I try to this $client = new Client(); $parameters = [ "path" => "id:".$imageId, ]; $url = ''; try{ $response = $client->request('POST', 'https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings', […
-
DropBox API
Hi, We are trying to use the dropbox API to setup an integration with filemaker. we are using this link https://www.dropbox.com/developers/documentation/http/documentation#files-upload In the section "Generate Access Token", the drop down list does not open. I have tried this on a number of PC's and get the same result.…
-
save_url directly into folder_id
I'm trying to use the same functionality that the /upload endpoint has where you can specify which folder you want to upload into by directly using the folder_id ie ```curl -X POST https://content.dropboxapi.com/2/files/upload \ --header 'Authorization: Bearer {token} \ --header 'Content-Type: application/octet-stream' \…
-
C# How can i see folder size?
Hi there, I'm trying to implement a progress bar when getting a folder using the DownloadZipAsync() method. I need to get the size of the folder im downloading, perhaps i've missed something as i cant seem to find anyway to do this programmatically? I've been using this post as a…
-
Python API client_modified resolution
When I set the `client_modified` of the `files_upload` method in the Python API and then use `files_get_metadata` to inspect the `client_modified` attribute, I notice that the datetime.datetime object has had the microseconds set to zero. Does this mean the best resolution of the `client_modified` metadata is 1 second?…
-
octet-stream to image
Since v2 api response application/octet-stream data from /get_thumbnail endpoint. Has any one got lucky to convert into an image url to display in page? Need help.
-
Error when uploading to folder - Python client
Hello. I am trying to upload a file using this Python code: with open("{} - my-file-name.xlsx".format( datetime.now().strftime('%Y%m%d')), "rb") as f: dbx.files_upload( f.read(), "/path/to/folder{} - my-file-name.xlsx".format( datetime.now().strftime('%Y%m%d'))) And I am getting this error: Upload to Dropbox error:…
-
API - Multiple access with same account
Hello, i developed an app where some files are uploaded to Dropbox. Suppose that the user A uses the PC 1 and everything works well. At the same time, the same user (user A), use another PC, the PC 2, with the same dropbox business account. In this scenario on the second PC the upload won't work. Is this a known…
-
Manual definitivo webhook net core 2.1 ?
Hola: Despues de mucho batallar ya pude registrar una uri de un webhook para mis pruebas de ambiente local. [HttpGet] public ActionResult DropBoxGet(string challenge) { if (!ModelState.IsValid) { return BadRequest(ModelState); } return Ok(challenge); } [HttpPost] [AllowAnonymous] public async Task<IActionResult>…
-
Mover archivos masivo MoveBatchV2Async RelocationBatchV2Launch
Hola: Estoy usando la funcion MoveBatchV2Async, y tiene un limite de 25 movimientos de archivos. En mi proceso necesito hacer el movimiento de hasta 100 archivos, entonces tengo que hacer 4 peticiones al api para mover 4 bloques de 25 archivos, pero por alguna razon no funciona, es como si la segunda peticion de movimiento…