-
Error -1017 "cannot parse response"
I am getting an error code -1017 "cannot parse request" from my app when it tries to download a file from Dropbox. This code has not changed for a while and has worked without trouble. I use the same code in my web app, again, without any problems. I am using the REST API in each case. Nothing fancy, pretty much exactly…
-
Problem with download Dropbox API
When I use the dropbox API to download a file, the file will be saved in the root path of my code(Q4.zip) as the picture. How can I download it from the browser and choose the file path which stored it in my computer? I'm using Reactjs as frontend and Spring boot for backend. .
-
com.dropbox.core.ServerException: null when trying to get sharedListLinks
We're using dropbox-core-sdk - 5.1.1 To fetch existing shared links with the following code: sharingClient: DbxUserSharingRequests sharingClient .listSharedLinksBuilder() .withDirectOnly(true) .withPath(path) .start() Sometimes our requests failed with error: com.dropbox.core.ServerException: null at…
-
Getting refresh token for shiny app using rdrop2 and drop_auth()
I'm trying to create a shiny app, using R Studio, which links to my dropbox using the package rdrop2. I have successfully managed to deploy the app and it runs as planned for around 4 hours. However, I need long lasting offline access. Dropbox help pages say that I'll need a 'refresh token'. Currently to get my token I am…
-
File Upload Limit
Hi there, In our iOS app we are uploading files to our Dropbox with this Swift method: func upload(_ destinationPath: String, fileUrl: URL, completion: @escaping (Bool) -> Void) { client.files.upload(path: destinationPath, input: fileUrl) .response { response, error in if error != nil { print(error?.description) } if let…
-
Silent failures with files_upload and Python API
I am having trouble figuring out the right way to address this issue I am having with one of my apps. I loop over some files and create some worker threads (just a few threads) to upload files to Dropbox using files_upload. This works well except some small percentage of time some users report some files don't get…
-
Many users sharing files with my application using dropbox api
I have a web application where users can upload their files read/only to my application. Call this user_file_i. My application then creates a new file for each file the user uploaded. Call this output_file_i. My application can asynchronously update the output_file_i. I love the dropbox user experience, so would like to…
-
Access token keeps expiring after few hours
We use Dropbox API as follows https://api.dropboxapi.com/oauth2/token "grant_type" => "authorization_code", "code" => code, "redirect_uri" => redirect_uri, We receive access_token, but after few hours they expire and user again has to go through Authorizaion process. We read about refresh token. How can refresh tokens be…
-
Corrupt OAuth2 Tokens
We did an integration with Dropbox about 2 years ago and it has been working quite well. However we have started having some issues where we get an error 422 no_permission when we make api calls for some clients despite having just gotten the token. It seems that the OAuth2 Token we get is sometimes unusable. If we get a…
-
ListFolderAsync Order Entries by Name
I got this one running. DropboxClient.Files.ListFolderAsync(<"">).Result.Entries Now how do I get the entries listed by name in descending order? There's this OrderBy(of ) function on Entries but I don't know what parameter to put.
-
Authentication
I would like to know if it is possible to perform the authentication process without the need for user interaction. From what I understand I could embed the token directly but it expires. It is with the objective of making an automated tool
-
Net Core 6.0 compatibility? Getting OAuth2Exception: invalid_grant for ProcessCodeFlowAsync...
Trying to port a Windows .NET Standard to .NET Core 6.0 using Blazor Server. I've got the old application running just fine and I'm able to get the initial Authorization Code. Trying to pass that along with the key and secret, etc... and I get: OAuth2Exception:…
-
Uh oh! Seems like this widget is not configured properly. localhost laravel 8
I'm trying to use the dropbox chooser in my app in localhost for laravel 8 the chooser needs to be able to be use on all pages this is one of the pages http://127.0.0.1:8000/1/2/en/documents however when i click on the chooser button i get and error message and the following screen and this is the setting of my app any…
-
dbxcli has been disabled!
The dbxcli app that you provide (and that we rely on) appears to have had it's access to the API revoked. All operations fail with a "This app is currently disabled". Thanks Dropbox, great move. This is going to take me hours to workaround until you can fix it.
-
Refresh Token Simulate
Hi, I am trying to test handling refresh tokens, but my machine never seems to get the expired token error but clients are. Is there a way to force the dropbox token to expire or a test server that will let me manually expire tokens, etc for testing?
-
400 BadRequest from .Net client when using refresh tokens
We are using the .Net SDK client vs 6.14. We primarily use the Files.GetMetadataSync and Files.SaveUrlAsync api calls. We call the API with a variety of long-lived accessTokens and refreshTokens depending on when our customer initiated their Dropbox connection with us. On a number of recent customers who we setup with…
-
createSharedLinkWithSettings() falls with shared_link_already_exist error
We're using the following code to create shared links: sharingClient: DbxUserSharingRequests sharingClient.createSharedLinkWithSettings(path) DroboxCore SDK version: 5.1.1 Request ID: aa92c91cb979457d85ffa03c89a6c4d0 b54e559b95224839a25673ad461de91f 41011827be2a495c897617aa2c2b5a23 042a000666cb4e1d81722459ad4ce27a…
-
Re: Dropbox .NET SDK (Refresh Token)
This does not work please help me in getting refreshed Token
-
Url scheme for a dropbox folder
I created a widget that will be placed into iBook Author. The widget can open my Dropbox app which is installed on my ipad, (dbapi-1://) but I am looking to open a specific folder or go to a specific file. Thanks in advance for any assistance you may be able to provide.
-
application/binary type returned for media files
Hi, I am using gettemporarylink API to obtain url to the file that can be later played. That url when requested itself, returns wrong Content-Type header for media files. For example audio file with m4a extension now has Content-Type response header set to “application/binary” instead of “audio/mp4” or “audio/mpeg”. Such…
-
Dropbox Paper API: document revision and access history?
Hi, It would appear that it is currently not possible to retrieve Paper doc revision history metadata via the API. Do you plan to expose this via the Paper API? Perhaps not too dissimilar to the /list_revisions API, which works for Dropbox files. My use cases are around capturing collaboration events as triggers. I'm sure…
-
Just curious
I finally have a version of my application (note, its not a web app, just a regular compiled app) that I've migrated from LL access tokens to SL access tokens. I don't have it working with refresh tokens yet, that'll be the next step. But I've noticed that sometimes when I get asked to request a new access token (because…
-
API Dropbos vs. Filemaker Offline Datenbak
Hallo Forumsteilnehmer, ich bin erstmalig hier ... und erhoffe mir eine Lösung. — Folgendermaßen ist meine Intention: Ich arbeite für einen privaten Auftrageber im Bildungsbereich (mit dessen sehr großer Anzahl an Datensätzen >5.000) auf der Website (Wordpress) bzw. – vorbereitend – in einer Offline-Datenbak (Claris…
-
Dropbox-Uploader API - Upload Error
Hello, I have created an APP for API uploads and have given the APP read/write permissions for files. I have run the dropbox configuration with my keys and tokens. The command I run from my linux box is: ./dropbox_uploader.sh upload sr-s31-4.txt TAC/sr-s31-4.txt The error I get is: Some error occurred. rerun the script…
-
PHP: Error in call to API function "files/upload": The given OAuth 2 access token is malformed.
How do I fix this? The code is: <?php$path = '(full path to file)'; $fp = fopen($path, 'rb'); $size = filesize($path); $cheaders = array('Authorization: Bearer <API>', 'Content-Type: application/octet-stream', 'Dropbox-API-Arg: {"path":"/test/'.$path.'", "mode":"add"}'); $ch =…
-
How to fix the short-lived access token issue?
I have a Desktop/Mobile Xamarin application that reads and writes to the Apps folder in a users Dropbox. It has been working fine for a long time but now that Dropbox has moved to short-lived access tokens my application is having issues. It used to be when the application got the Dropbox token that was it unless the user…
-
Auth redirect url
Why does the redirect url after the Authorization process look like "#access_token=IuAX.........". The # at the start prevents my server code from getting the url parameters. Using .request().queryString() in java
-
Video URLs return 403 error
Recently, video links which we get from Dropbox (iOS/Android) Chooser return either a 403 error, or they return 200 but never load. We are using link type: DbxChooser.ResultType.DIRECT_LINK / DBChooserLinkTypeDirect so the links are in this format: https://dl.dropboxusercontent.com/1/view/... Image links work correctly.…
-
Unable to see custom Properties after setting them
Hi I need to some to figure this out, I cant seem to see the properties that i 've set on a document I uploaded (I've got the following DONE - Basic Account setup, Scoped App setup, refresh tokens saved, custom template created, got the id) Using both of the following methods - API Explorer and Python SDK - I've run…
-
Re: Dropbox stopped returning Content length in the response headers.
Hello, again there is not content length provided, and plus the links are now rendering html with iframe containing download link... Please make sure that also people who need to access files programatically can be served consistently. Thank you.