-
Java desktop DbxWebAuth with withRedirectUri NPE
Hi everyone, as I wrote in the object, I get an NPE on the line: HttpSession session = request.getSession(true); Hi everyone, as I wrote in the object, I get an NPE on the line: I'm using this code to prevent the user from manually entering the verification code into my app. from the example codes I found…
-
Error Uploading File
We're seeing the following error when trying upload a file: [36mbir-server-app_1 |[0m Error : { FetchError: request to https://content.dropboxapi.com/2/files/upload failed, reason: getaddrinfo EAI_AGAIN content.dropboxapi.com content.dropboxapi.com:443 [36mbir-server-app_1 |[0m at…
-
Modifying "[...] wants you to add files" message for file requests
I'm using the `file_requests_create` method from the Python SDK to create individualized file requests in a letter writing project for a class of mine. Right now, I have a Dropbox app called "Endurance-Test" (the final one will just be "Endurance"), and I want it to say "MIT Endurance wants you to add files" instead of…
-
API Upload Always Zero
Hi When I upload a file using the code below the file appears in my folder at zero size. Uploading the file manually works fine. so I know the file is ok I've looked thru similar old posts but I'm still struggling - any advice?? curl -X POST https://content.dropboxapi.com/2/files/upload \ --header 'Authorization: Bearer…
-
Batch copy within Dropbox gives an error
Hello All! I am using Dropbox Javascript SDK to manage my files within Dropbox. I have come across a scenario where I need to copy 1 or many files (depends) into a single folder. For this, I am using the filesCopyV2 api and proving different paths as the source, but the destination would be the same. Here's the sample code…
-
Proper way of handling APP KEY and APP SECRET
Hi there, as per the title, if my application is to be shipped to the customer, how am I supposed to properly handle the use of APP_KEY and APP_SECRET in the app itself for authentication? Currently, it is encoded in a base64 string and stored within the application itself and included in the headers. However, the user can…
-
File Links
Hi. I have made my own app using dropbox api. I am having different json files in my dropbox, my app does the following functionality 1) download specific file 2) edit that file 3) after editing, upload that fille to dropbox on same path using below method String remoteFileName = localFile.getName(); try (InputStream…
-
get list of folders
Hi. I want to get a list of folders along with path inside my dropbox so that i can upload my files to defined path through my own made android application. Is there any way to get folders list without clicking each folder and get path? I mean get list of folders along with path when i initiate DbxClientV2? or any other…
-
Programatically update Saver domains?
Hi, I've successfully added the Dropbox Saver to my site, however the site offers the ability to whitelabel itself with a subdomain of the client's own domain. For it to work on the whitelabeled versions these subdomains would all need to be added via the App Console. Is there any way of programmatically updating those…
-
Fail to get a file via curl
Soooo.... this has been driving me nuts for the past day or two. I am sure I am missing something obvious, but I have no other paths forward. So here goes. I have created an app with access to an APP FOLDER. I uploaded a few test files to the folder via GUI. I can list the folder contents via curl using the token I…
-
Shared media files with ?dl=1 parameter not working in mobile iOS Safari browsers
Hello Dropboxers, I suddently encounter problems loading media files via a shared link with the ?dl=1 parameter in (at least) the iOS Safari browser. The following sharing links work fine in most browsers, but when I open it in Safari on an iPhone (iOS 12, iOS13), the video isn't loaded and the following error is thrown:…
-
/files/list_folder includes .app packages as folders
Hello, there are certain files such as the ones with .app extension which show up as Application files both on Mac and on the Dropbox client as well (see screenshot below). However when traversing them using the /files/list_folder API they show up as a folder (see attached code) and lack a way to determine when they were…
-
Store Multiple Access Tokens
Hi. I am building an android app which uses dropbox api to connect to dropbox through auth flow and then upload files on dropbox, I want to store my access token for each account into the database so that with multiple accounts i have access tokens for each account, I am doing this because i do not want to generate new…
-
Re: Alamofire compilation errors after installing the SwiftyDropbox in Xcode project with CocoaPods
Hey, I am new to IOS Debelopment. I have install cocoapod 1.0.0 version & i have swift 5.0. I have install Almofire 4.0 into my prject it is installed successfully but while compiling the app it throws multiple errors into default files. Please guide me. Thanks in advance
-
Call the getTemporaryLink in Objective c api, return status code 409
I am trying to get TemporaryLink by api but it always return status code 409 email_not_verified DBUserClient *client = [DBClientsManager authorizedClient]; [[client.filesRoutes getTemporaryLink:<filePath>] setResponseBlock:^(DBFILESGetTemporaryLinkResult * _Nullable result, DBFILESGetTemporaryLinkError * _Nullable…
-
python3 and API V2: turn off certificate checking?
I'm using python3 and used pip install dropbox. On my home machine, I use the sample with dbx.users_get_curent_account() and it works fine. On the work VPN, I get a stream of exceptions (pasted below) the bottom line is requests is refusing to connect because of "Self signed cretificate in certificate chain". What I would…
-
iOS getTemporaryLink() cannot be used for streaming
I'm trying to play a video file stored in my Dropbox folder in an `AVPlayer`. The link was retrieved using getTemporaryLink() of SwiftyDropbox. The Dropbox documentation states that getTemporaryLink() is used to "Get a temporary link to stream content of a file." However, the link I get is in the form:…
-
List Namespaces in API
Is it intentional that the Dropbox API also lists out the deleted folders (but it does not list out the permanently deleted) ?
-
file_properties_properties_add() - InternalServerError('', 500, '')
Hello, I'm using Python 3.6 and Dropbox API installed with pip under Linux 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux (WSL Ubuntu). I'm short it out everything to be able to add my own properties to the files but, everything fails in the last command, when I tried to…
-
Create a form to upload file to Dropbox file request folder
I am completely new to API development having only limited coding experience. My goal is to create a form that allows the user to upload a file to a Dropbox file request folder. If Dropbox file request allowed you to enter text along with uploading a file, then I wouldn't have this need. How do I tell the form where to…
-
About linking dbx User's account
Finalizing a web page frontend, i come over a thing maybe obvious for others. I've take a fast look and i've understand if i'm not wrong, that i can't link a dbx user account. I mean: i display on page files of a dbx user, and as well, i would like to link to visitors, his dbx account. Something like…
-
Error in call to API function "files/download"
I use DropBox API to implement Dropbox in Xamarin.Forms (NET Standard). I upload a file success, but when I download I get this error Dropbox.Api.BadInputException: Error in call to API function "files/download": Bad HTTP "Content-Type" header: "application/x-www-form-urlencoded". Expecting one of "text/plain",…
-
How to dowload a shared file by its id?
I'm trying to make a simple web app that will list contents on one particular shared folder. There is about 200 small excel files in that folder and the app would like to download those files and do some magic on them. I was able to list all files with: dbx.filesListFolder({ path: "/some path", include_media_info: true,…
-
Show Contents of Shared Folder In an IFrame?
Is there a PHP code snippet or HTML code that would allow me to display a shared folder's list of files and subfolders inside an iframe and then they can perform any of the normal Dropbox functions (view/download) within the iframe?
-
Providing Users access to MY files via a Dropbox API app.. I don't care about their files
I've got a big Dropbox folder full of PDFs that I'd like to allow users to download from my website. However, everything I've seen in the API seems to work with the user's Dropbox account, allowing the website to pull up files from their accounts, etc. Literally all I want is to show my visitors a list of files and folders…
-
ZipException
Using literally exactly the same code as on the GitHub tutorial, I get a ZipException whenever I try to call a method with client.files(). DbxRequestConfig config = DbxRequestConfig.newBuilder("Greysia Bot").build(); DbxClientV2 client = new DbxClientV2(config, ACCESS_TOKEN); ListFolderResult result =…
-
Does Dropbox API support user account and subscription creation?
Does Dropbox API support creation of user accounts, subscriptions, subscriptions changing, etc? For example, can I make an app that users can use to purchase some Dropbox products? (also posted question on stackoverflow).
-
Remove member and transfer files (409) Conflict
I'm trying to automate a leaver process and want to disable an active user and transfer their files to another active user. Using endpoint /members/remove I can successfully disable a user if this is all I'm requesting, but when I add to the request transfer of files as well (by using transfer_dest_id) API call fails with…
-
Suddenly seeing rate limit errors
Hi, We have millions of files in a Dropbox for Business team folder. We've build a filing system internally, which is more specialized to our use case than any general purpose storage solution like Dropbox. We also build a "sanitization tool", where our internal users can view files in Dropbox and select which to migrate…
-
Re: -canOpenURL: failed for URL: "dbapi-8-emm://1/connect" - error: "The operation co
Hi, I run through the same problem. Now I have been getting to this screen But then nothing happens when I click on either of the two buttons. This is the function I have in my app delegate func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { if let…