-
Code for APIv2
Sorry, I'm just a hack trying to upload a database backup to dropbox. API v1 worked fine but now I'm forced to migrate. Here's the code I used to use, with the old API v1 commands and the new API v2 ones. Not working - can someone please help? use Dropbox\Dropbox; use Dropbox\DropboxApp; use Dropbox\DropboxFile; $app = new…
-
Couldn't find API's or SDK methods to create/update/delete dropbox paper template and shortcuts
Hello Dropbox team!! I have 2 queries here to discuss. Could you please help me with your inputs. 1. I'm using dropbox trial version and I couldn't see any API's to create/update/delete dropbox paper template and shortcuts. Is there a way that drop user can create his own api's? 2. I couldn't find any SDK methods also to…
-
Unable to get long lived access tokens.
Hello there! I'm trying to get an access token that doesn't expire. A long-lived access token. For now, when I generated an access token from the App Console, the session will expire after x hours and won't give me a refresh token either. I've checked the authentication documentation:…
-
How to create a user with UserRootInfo?
I would like to test if my new app works with both Dropbox user account with UserRootInfo and TeamRootInfo. I was able to sign up for a Business Standard plan and my user came set with TeamRootInfo. How to I change my user to have UserRootInfo? I am refering to this…
-
Offline API Testing
I'm using the Dropbox HTTP API for development purposes and was curious as to if there was any type of library or capacity that would allow for offline testing. Meaning, is there potentially some type of python, ruby, etc. library that would properly emulate the responses returned from the Dropbox HTTP API? Granted, since…
-
Reminder: The Dropbox API will no longer accept TLS 1.0 or 1.1
Beginning on or after April 13, the Dropbox API will require that calls use TLS 1.2 or greater. Traffic using TLS 1.0 or 1.1 will be rejected. The latest Dropbox SDKs will select TLS 1.2 when available in the environment, but versions over two years old may require an update. In particular, users of the Dropbox Java SDK…
-
Installing Dropbox Integration
Hi, I successfully installed jitsi on a self-hosted server, however, the Dropbox integration does not work. I've created the project and the key in Dropbox and put this to /etc/jitsi/meet/meet.webconf.cloud-config.js: dropbox: { appKey: 'XXXXXXXXXXXXXXXX' // Specify your app key here.}, five nights at freddy's However, no…
-
C++ getting an error when uploading file
Hi, i'm using an ESP to upload files from an SD card to the dropbox API. i'm using the following request: #define upload "/2/files/upload HTTP/1.1\r\n"#define host_content "Host: content.dropboxapi.com\r\n"#define content_API "content.dropboxapi.com"String _mode="overwrite";SD.begin();File files = SD.open(localFile,"r+")…
-
I wanna know how to stop refresh the Generated access token
I'm using the tutorial code but a few hours later Generated access token does not work so i changed token everytime when i use it. i wanna know how to fix it
-
Paper API: list all docs in a shared folder
I have a folder in my Paper account that has been shared with a few friends. When I use the `docs/list` endpoint, only the docs that I have either created or accessed (depending on the `filter_by` parameter) are listed. What I want to see is a list of all Paper docs contained in my shared folder. For example, a doc that my…
-
Shared folder property groups
I'm using .NET Dropbox API to add custom properties to a file by using user-owned templates. Will the properties be visible to users I share the file with? Is it possible to achieve this without using Dropbox Business?
-
Targeting a folder at the root of a business account.
I am trying to upload files into a folder at the root of a DropBox Business account. I can list all the folders including the target folder by using the following. $cheaders = array('Authorization: Bearer '.DROPBOX_APP_TOKEN, 'Content-Type: application/json'); $ch =…
-
Checkbook App Dropbox Backup Error
I have been using the Checkbook+ app on my iPhone for approximately 3 years now. I tried to backup my data to Dropbox last night and received an error message “expired access token”. I do not want to lose this data as I do not use a paper check register. When I originally began using Dropbox and Checkbook+, my email…
-
API Access Token - Adding New Token Info to Existing Folder
I'm wondering how I swap out an expired API token in an existing Dropbox folder. We had a nightly sync set up to be retrieved from another database (On24 Events), and the sync has been disconnected due to the expired token. I generated a new access token to use, but I can't find where to enter the new info in Dropbox. The…
-
OAuth2 redirects to Dropbox.com instead of my redirect URI
When my users go through the OAuth authorization flow, then click the Allow button at https://www.dropbox.com/oauth2/authorize, Dropbox redirects the user to Dropbox.com, when it should redirect the user to my redirect URI. How do we fix this?
-
Using IdentityModel.OidcClient with Dropbox
Hey I'm using the IdentityModel.OidcClient to authenticate the dropbox account of a user within my application. The authentication works as expected with one exception: The redirect_uri. I'm using random ports within the redirect_uri to avoid connection problems e.g. https://127.0.0.1:{randomPort}. If I do so, I receive…
-
Can't add editors to files using the API or API Explorer
Hi there, I discovered today that I'm unable to add editors to files in my DropBox account using the HTTP API and DropBox API explorer. I receive a HTTP 409 response stating that I don't have the required permissions to perform the operation. However, I can add viewers no problem, so I'm wondering is it an account issue or…
-
I Didnt Understood The Get Access Token Via Code
Hello, In the documents its says; Example: Auth URL for code flow https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&response_type=code When i enter the page with my app key its says; Enter this code into app name to finish the process 1. I didn't understood where should i put the access code in (on my app)?2.…
-
Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)
Hello Dropbox team, I have a usecase, where in my webApp (Node js - Angular), user will come and select "dropbox" icon, which will open Dropbox Authentication window, for the user to authenticate. Once he is authenticated successfully, then the file selected by user from dropbox, should get downloaded to my server…
-
Dropbox Upload API - Sending special characters in file path
Hi All Im trying to send a file to DB using the upload API using the JS SDK. The upload IS WORKING, however, when the file is folder "Salt and Pepper" is created, its replacing the & symbol that Im sending with &. The file path I am trying to write to is: /Salt & Pepper/serialnumber-filename.zip However, the file path…
-
Access Token Help
So I've been trying to use the API as dynamic storage for my portfolio site. Essentially I want to be able to call a folder where I store photos and when the user loads the window for a particular project have it load the photos from a path that I've specified in a JSON object. I've mostly gotten the feature to run, the…
-
Dropbox and Lazarus
Hello. I am relatively new to programming. I have created an application with lazarus. For its best operation I would like through the link to be able to download and upload a file. So far I can download it and save a copy on my computer. I would like to ask if it is possible to upload the file to dropbox via the link. If…
-
C# Dropbox.API File Upload Errors
I'm using the most recent NuGet package for my VS 2019 project. My app has worked consistently for several years now. But recently I have logged errors when invoking the client.Files.UploadAsync() method. The underlying exception appears as The request was aborted: Could not create SSL/TLS secure channel. I have debugged…
-
![CDATA[ // ]] issue when using Embedder.
![CDATA[ // ]] issue when using Embedder. Was working fine for months no idea why broken now. full text: <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="un64ye2x02vvxlk">// <![CDATA[ // ]]></script>
-
Bad HTTP "Content-Type" header from the Dropbox API
When I try a request to Dropbox API(v2), I am getting this error , "message": "Error in call to API function "users/get_current_account": Bad HTTP "Content-Type\" header: "application/x-www-form-urlencoded". Expecting one of "application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack" I am…
-
OAuth2 code is shortlived
I use Dropbox with Virtualmin to make backups of the virtual servers. My problem is that the OAuth2 code is very shortlived and I have to request a new one for every connection, leading to that automatic backups are impossible to implement. It is not my module, it is an integrated service in Virtualmin What is this about…
-
Business - Team Folders account (not team spaces)
Hi, I have a business customer whose backend is still "Team Folders" and not "Team Spaces"... My integration doesn't work for him, and I can't really test it properly because I can't create a "Team Folders" business account... Already created business trials twice - and looks like "Team Spaces" is currently default account…
-
Provide a video of someone implementing OAuth2 in a web app, so we can see how it is actually done.
And don't show it with the App owner's key. Show how to implement where user's of a web app OAuth to Dropbox with their own account.
-
Authorization in UWP apps
As a UWP developer, I ran into the following problem. With the authorization policy change, Dropbox no longer supports the OAuth2 application authorization flow in web views, nor does it support the Web Authentication Broker. Is there ANY workable solution for a UWP app to authorize a user to get a token to upload/download…
-
Getting started using dropbox with C#
Hi I'm an experienced c# developer trying to get started with dropbox coding. I'm looking to write a .net 6 integration to read files from dropbox but initially, I'm just trying to make a proof of concept connection. I've started reading the documentation which has led me to the examples on the dropbox github…