-
Response headers
when i use dropbox api for uploading file. the http header contain chinese, for example: "Dropbox-API-Arg:{\"path\": \"/Test/中文.doc\",\"mode\": \"add\",\"autorename\": true,\"mute\": false,\"strict_conflict\": false}". it will response error message: Error in call to API function "files/upload": HTTP header…
-
400 Error In OAuth API
Hi, this URL is giving me a 400 Error: https://www.dropbox.com/oauth2/authorize?client_id=objo7li90yqmnfi So is this one: https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=objo7li90yqmnfi&redirect_uri=http%3A%2F%2F127.0.0.1%3A54222%2Fauth%2F&state=FDV-_wM0zFVcrSCQj9QH5g%3D%3D And any others for that app.
-
Andorid SDK uses deprecated API
https://github.com/dropbox/dropbox-sdk-java Andorid SDK uses still v1 API. It shows warning when I try to login from application. It opens https://www.dropbox.com/1/connect?k=****** when I call Auth.startOAuth2Authentication. What is the solution for this? Do I need to implement other way, or will the developers implement…
-
DropBox API: uploading a file issue
Hello, I first get the token from: https://api.dropbox.com/1/oauth2/authorize?response_type=code&client_id=xxxxxxxxxxx&redirect_uri=https://localhost:44332/Test following https://www.dropbox.com/developers/documentation/dotnet#tutorial I use the following…
-
used file_requests/list_v2 getting blank
I am calling api https://api.dropboxapi.com/2/file_requests/list_v2 and getting file_requests[] banks response. {"file_requests": [], "cursor":…
-
How to make Dropbox images findable in google image search?
As an online store owner I came up with the following question: How to make dropbox images findable (and therefore valuable) in google image search? Case: I use Dropbox images on my website to show my customers examples and encourage them to buy products. This works well, but the images do not generate extra visitors…
-
OAuth2 response
Hello, when we access the auth 2 authorization interface at: https://api.dropbox.com/1/oauth2/authorize?response_type=code&client_id=zzzzzzz&redirect_uri=https://localhost:4433/Test If the authentication is successful and user has accepted that my app can access their files, it then invoke https://localhost:4433/Test with…
-
Development User Count Not Increasing
We have used atleast 5 different dropbox accounts to choose images with our integration, but in the Development Console of our application the "Development User" section still displays "0 / 500". We have added all of our domains in the "Chooser / Saver / Embedder domains" section. We can even see metrics in the Analytics…
-
Xamarin.DropBox.APi - HTTP 400 (Bad request) on DownloadAsync
Hi, I have the following code in a static helper class which works perfectly in a Windows UWP app: public static DropboxClient dbxClient { get; private set; } ...... public static async Task<string> DownloadFile(string filePath, string fileName, string accessToken) { string output = null; try { if (dbxClient == null)…
-
Python API - Find out who uploaded file to shared folder
Hi, I've been looking through the documentation for the python API but I'm unable to find a function that will allow me to find out who uploaded a file to a shared folder. Does anyone know if it's possible to do this? I am able to see who uploads a file on the dropbox dashboard in a browser, so I assume this functionality…
-
How to provide the Dropbox-API-Select-User HTTP header with .Net API
Hello, I have gotten my access token through the business app and am trying to make a simple request. I also have team admin permissions with a permission type for the app as "Team member file access" using (var dbx = new DropboxClient(AccessToken)) { var full = await dbx.Users.GetCurrentAccountAsync(); } I get the…
-
Using Dropbox with Pyspark Dataframe
Hi all, I am trying to transform a csv file from dropbox in pyspark dataframe with the following code: import dropbox access_token = 'XX' dbx = dropbox.Dropbox(access_token) metadata,res=dbx.files_download(path_Const+'tbEstado.csv') dEstado= (spark.read.format('csv').option('delimiter', ',').option('header', 'true').…
-
sharedFolderID lifetime and scope
Hello Is sharedFolderID permanently unchanged? Is it global? Is it possible to save the value and use it later or hand it to another user?
-
Install Access token expiration how
Hi everybody How do I get the settings to look like in the red image?
-
Upload using POST request to temporary upload address returns code 413 even for moderate size files
Hi All, I have a server on which I generate server-side an upload address using files_get_temporary_upload_link from API v2. The upload is made client-side with js: var xhrUp = new XMLHttpRequest(); xhrUp.open("POST", dropboxUploadUrl, true); xhrUp.setRequestHeader("Content-Type", "application/octet-stream");…
-
Malformed authorize_url returned from DropboxOAuth2FlowNoRedirect.start() Python API
I am trying to use the `DropboxOAuth2FlowNoRedirect` example in the Python class docstring. It looks like this: from dropbox import DropboxOAuth2FlowNoRedirect auth_flow = DropboxOAuth2FlowNoRedirect(APP_KEY, APP_SECRET) authorize_url = auth_flow.start() print("1. Go to: " + authorize_url) print("2. Click \\"Allow\\" (you…
-
Dropbox.Dropbox is undefined
Hi, I'm using https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js to access the Dropbox API. As of today, I can no longer create a client object using Dropbox.Dropbox(clientID, fetchMethod) because Dropbox.Dropbox is now undefined: Has the method of creating the client object changed?
-
Issue while deleting account
Hi Team, We are facing an issue while deleting the account having special characters. Ex: User having with below details Email=Newone@sail.com given_name=automation123456##$ surname=$automation123456##$ external_id=“$automation123456##$ When I am trying to delete this user via API, its taking more time than normal user.…
-
How to implement "View on Dropbox.com" in a web app?
Hello! We are developing a web app that creates files in the "App" folder of the customers' Dropbox account. Is there a way for us to create a link that we could display on our UI, which would preview this file in Dropbox web app or highlight it in its parent folder (again on Dropbox web app)? In other words: 1. we have a…
-
Handling File Rename/Move in the API [filesListFolderContinue]
Hello, I'm trying to build a blogging platform powered by markdown files in dropbox. So, I need to keep the file and the blog in sync. To do this, I am using filesListFolderContinue (JS SDK) and pass the cursor from the previous sync to get the diff. One issue I see is that on a slow/flaky connection or when large files…
-
Creating a Share Link Destroys Another Share Link
Hi. I hope you can help me! I have an Integromat.com scenario involving the Dropbox "Create/Update a Share Link" module. It works great, in and of itself. Using information from Monday.com, it creates an "Invoice" PDF file in Docupilot, uploads this file to Dropbox, creates a Dropbox share link for this file, and…
-
I want to upload files to Dropbox Business using the Dropbox API
# Summary I used the "/2/files/upload" endpoint of the Dropbox API. However, the file is uploaded to your personal folder. I want to upload files to the team folder using the API. # Tried I found the following questions.…
-
filesListFolderLongpoll fires changes: without changes within the folder
I have a folder and I get a cursor for it and call filesListFolderLongpoll... If I go to the parent folder of the folder I'm polling and add a file to it, the longpoll returns for the child folder with `changes:true` (but nothing within the folder I'm actually polling has changed). When I call filesListFolderContinue with…
-
Python API - Getting image EXIF data
Hi, I've been trying to get the EXIF data from images, mainly I'm after the image orientation. I can do it by using the files_download_to_file command and using python to get the EXIF data out later, but I'd rather use the files_download command. Any help would be greatly appreciated.
-
Rotating App Key and App Secret - Can you do this without deleting the app?
Hi folks, I've created a DropBox app with a App Key and App Secret. My question is, is there a way to update the Key or the Secret? What if this information gets compromised or we have a policy of switching keys out after a year? Is it possible to do this without deleting and creating a new app (which would then also have…
-
How to store secret_id in Java desktop app
Hello, As I want to deploy the next version of my Java desktop app with the integration of the Dropbox API so that users can have access to their dropbox folder within the program. For this, I will need to have my dropbox app client_id and secret_id in my Java code somewhere. What are the recommendations and risks when…
-
Dropbox Chooser link error
Hi, I use dropbox Chooser on my site, the user inserts links to images from Chooser and sometimes these links return 403 code. What can this be related to. Example link: https://dl.dropboxusercontent.com/1/view/0bh390k3ngjcm4u/Pre-Media/Clipping/PicUp%20Media/2020/5/5-30/6181607IN1.psd
-
Get access token with C#
I'm making xamarin forms app that must save sqlite database in user dropbox account. I have created the required app to connect my xamarin forms app to dropbox, but i am looking for the C# code to get the access token for login. I have tried these instructions…
-
The token generated here is short-lived, so it will expire 4 hours after generation.
Hello, Yasterday i generate a API key, for my project and today i see not worcking. After i ceck where is problem i see api kei is not avaible, is avaible only for 4 hours. Any sugestion for can generate a api key what not expire to quiqly? Thancks
-
Old datastore api data
This might be a longshot, but I found out that I have some data in the old datastore API that may be useful to have - is there any way to export the data (or would it be gone by now)? I still see the app in my connected apps, and found some posts suggesting it was possible to get a CSV of the data. Thanks.