-
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…
-
Error 500 when authenticating via API and using redirect_uri
If i remove this parameter, it gives me a code. But adding it, returns an Error 500 on Dropbox. Is this an issue with the platform? It was working properly this morning.
-
Search v2 endpoint returns 500 internal server error
I've using the following endpoint to retrieve files: https://api.dropboxapi.com/2/files/search_v2 this returns 100 entries and then get has_more = true and cursor. I then user this for the following endpoint : https://api.dropboxapi.com/2/files/search/continue_v2 Everytime it returns internal server errror 500 with no…
-
How to use oauth2 for dropbox via Javascript/HTML
Currently I am using the below code, but either No 'Access-Control-Allow-Origin' header or error 400 comes up everytime. I have looked for guides about No 'Access-Control-Allow-Origin' header, but haven't found any of use. My goal is to just grab the users username so I can use it in combination with an app I have created.…
-
Fulfilling a File Request via HTTP
If I generated a file request URL, is there any way to upload a file to it programmatically? For example, here is a pseudo-curl request that I imagine: curl -XPOST https://www.dropbox.com/request/2PY0o6x3LlNSZy38Yjsj?name --data @file.jpg I know I could use the HTTP API to upload a file to an app folder instead, but it…
-
Access free folders and files with Dropbox.Api 4.9.4 in .Net
Hi! I have been provided with a Dropbox URL (https://www.dropbox.com/sh/<code1>/<code2>) where I can access folders and download zip files in my web browser without providing any credentials. How do I use the Dropbox.Api 4.9.4 in .Net to do the same thing? * List content * Navigate to sub folders * Download files What…
-
Three devices limit and API access
I have several apps that sync data through Dropbox — things like password manager, note-taking app, etc., all logged in through OAuth and using API. Do they count against three devices limit, or it only concerns Dropbox client apps?
-
Upload a file using c++ via curl
Hi, I was googling for a way to upload a file to any cloud storage using c++ and came across dropbox api. I found the code, so I did a copy and paste to try and see if it works. I entered the Access token and ran the code, the upload failed showing this error: "Error in call to API function "files/upload": The given OAuth…
-
Upload A File Via Curl In C++
How to create a program that takes a file from my computer(image, audio, video or any other file type) and upload it to my dropbox account via curl in c++. I found this: https://riptutorial.com/dropbox-api/example/1355/uploading-a-file-via-curl-in-cplusplus But this code does is crette a new file in my dropbox account in a…
-
Authorization via copy/paste of OAuth2 access token?
PfP: Pain-free Passwords is normally used as a browser extension, but I also provide a web client. That web client is supposed to be downloaded and run from local file system, so there is no real redirect URI to receive the authorization token. With Google Drive, a special urn:ietf:wg:oauth:2.0:oob URI can be specified as…
-
Get revision of file from C#
Hello, I need to keep syncronized in the memory of my program the contents of a file inside my dropbox, I was thinking on getting constantly the Revision of that file and if it's different, then, download the content. Ignoring if that's the best way to go. It's a really light file, less than 10KB of text. So, I was…