Comments
-
That output indicates that the issue is that you're using the "DELETE" method, which isn't allowed. The API expect the "POST" method. That's presumably due to the "-Method Delete" in your code; for POST you would likely need to set "-Method Post".
-
@"dolphin-newbie" Taking a closer look at the sample URL you shared, I see your 'origin' value is actually "https%3A%2F%2Fhttp://a9b7088a.ngrok.io", which decodes to "https://http://a9b7088a.ngrok.io". That's not valid, as it contains two protocols (both "https://" and "http://") for some reason. Can you check that you…
-
I believe your second version is closer, as it actually reads the body. (The first one doesn't appear to.) In both though, you're not actually printing out the result or saving it anyway. E.g., something like: Write-Output $responseBody
-
@"Sim_one" We'll need to take a closer look. Please open an API ticket with the following: * the version number of the Dropbox SDK you have installed * the output of getCurrentAccount * the output of listFolder with path="" * the code you're using to call for "Peter O'Brien" Thanks in advance!
-
@"jasskcet" That URL isn't currently returning a 400 for me, so it sounds like you already managed to get that sorted out. (E.g., by registering the domain, like in my last comment.) Also, we don't recommend copying and embedding your own copy of dropins.js, as then you won't get any updates we make to it. Finally, it is…
-
It sounds like you're referring to the feature of the official Dropbox desktop client where you can right click on a file or folder and choose "Copy Dropbox Link" to get a shared link for that file or folder. The Dropbox API doesn't offer a way to interact with the Dropbox desktop client itself, but you can use the Dropbox…
-
@"dolphin-newbie" It looks like the issue is that you don't have the domain you're running from pre-registered as a Dropbox Chooser/Saver domain on the app's page on the App Console. You need to pre-register the domain(s) you'll be using your app key on so that other people can't use your app key on their own sites. In…
-
Thanks @"markmeurer" !
-
The Dropbox API does require one of a certain set of Content-Type values for download calls like this. The official Dropbox.Api library (i.e., the official Dropbox API v2 .NET SDK) does automatically set a valid Content-Type, so you don't need to do that yourself when using it. It sounds like when you switch to Xamarin and…
-
Thanks for the report! I just tried this though, and it worked for me. I.e., I was able to call listFolder using the latest version of the official API v2 Objective-C SDK for a folder at "/Peter O'Brien" without issue. Are you sure that's the correct path for the folder, and that you're connected to the right account? If…
-
Can you print the response body as mentioned/linked in my last post? You'll want to retrieve the error message from it to debug things like this.
-
Thanks for following up. I'm glad to hear you were able to get this working. Yes, that previous access control setting would have prevented you from adding those other accounts, so it looks like this is working as expected.
-
Hey Rian, we don't have an option for enabling these for upload via the API, but I'll pass this along as a feature request.
-
Using the /2/files/delete_v2 endpoint is the right way to delete a folder. Calling it will be similar to /2/files/upload, but with some important differences. The /2/files/upload endpoint is a "content-upload" endpoint, so it takes the parameters as JSON in the "Dropbox-API-Arg" header. The /2/files/delete_v2 endpoint is…
-
Using a Dropbox Business API app with the "team member file access" permission is the right way to do this. That enables the app to use the "member file acces" feature, which includes the ability to create folders, share folders, and add members to shared folders. Can you share the full code to reproduce the…
-
Are you running on Google App Engine? If so, you should use GoogleAppEngineRequestor as documented here. Otherwise, you can consider switching to a JRE that does return javax.net.ssl.HttpsURLConnection objects for HTTPS network connections, as that would enable the SDK to implement better security for your Dropbox API…
-
First, to clarify your post's title, it's not possible to mount a shared folder from a "shared link". There are a few different types of sharing on Dropbox, and they work differently. The term "shared links" refers to the ability to send a link to any file or folder. These cannot be "mounted". The term "shared folders"…
-
Thanks for the further feedback @"ojnet" ! I'll be sure to follow up here if/when I have any news on this.
-
[Cross-linking for reference: https://stackoverflow.com/questions/52756880/error-400-while-using-dropbox-chooser-api ] Can you share the full URL of that page that's showing the 400 error? That would help us look into this. Thanks in advance!
-
@"jvelazquez1" It sounds like you're referring to the user limit that applies to apps in "development" mode. That's unrelated to the earlier discussion in this thread. You can increase that limit somewhat via the app's page on the App Console. To remove it entirely, you would need to apply for production. You can find more…
-
Users should not be entering their Dropbox username and password into your app, and your app should never prompt them to do so. Your app must implement the OAuth app authorization flow so that it can get an access token for each user, without ever seeing their Dropbox username and password. The app can use the resulting…
-
@"keepthemonochro" No, unfortunately I don't have any news on this. I'll follow up here once I do.
-
Thanks! I just gave this code a try, hooking it up to a button in a sample project, and it worked fine for me when triggering it multiple times. I saw all three log statements each time. I notice you did say that 'the second time only the first one "First Phase" appear', and that 'It look like the async task doesn't…
-
@"gagsbh80" Thanks for following up. I did reply to your ticket later that day, but it sounds like that response didn't make it to you unfortunately. (Perhaps it went to your spam folder?) In any case, I can confirm that the web site and API are calculating these values differently (mainly due to differences in how we're…
-
I don't see anything obviously wrong here, and since you mention you don't get any error, it sounds like there may be an issue reading from the `FileStream stream` in the first place. Can you add some logging to see if you're getting all of the expected data from that stream to begin with?
-
Can you share the code as text instead of a screenshot so we can try this? Thanks in advance!
-
You didn't mention what platform you're using, but if you can use just the Dropbox web Chooser, you can filter files by type using the 'extensions' option. Otherwise, if you are using the Dropbox API itself, I'm afraid this isn't offered. The Dropbox API doesn't have a way to restrict the app's access to specific…
-
We don't have a separate page for tracking these. I'll be sure to follow up here if/when this is implemented though.
-
Closing as a duplicate of: https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-use-username-and-password-for-upload-files-from-web/m-p/301324
-
Your understanding is correct; the Dropbox API does have those limits, so it's not possible to add an unlimited number of tags. Apologies I don't have better news for you!