-
Get Account Id from UserInfoMembership using Team Client .NET
I am using a dropbox admin account and using ListFolderMembersAsync and grabbing the UserMemberShipInfo which returns UserInfo. When I get this data returned some of the accounts have TeamMemberId while some have AccountId. TeamMemberId is not always returned with this api call. How do I do an api call to get the account…
-
Can't upload xlsx file to dropbox app
Hi guys, as the title says, I'm unable to upload an xlsx file, I can successfully upload other formats as xls, pdf, ppt, etc. but this gives an error in the moment I'm trying to upload it. The call is via AJAX (jQuery), something like this: $.ajax({ url: 'https://content.dropboxapi.com/2/files/upload', type: "POST",…
-
How to launch Dropbox app from my app in a specific folder?
Hey guys what's up? So as I said in the title. I'm trying to launch dropbox app from my app in the folder created by my app. How can I do that? PackageManager pm = getApplicationContext().getPackageManager(); Intent intent = pm.getLaunchIntentForPackage("com.dropbox.android");…
-
Is it possible to get the share link for a file which has been uploaded to dropbox?
I want to integrate Dropbox with my android app. After authentication when I upload a file to Dropbox I also want to retrieve the share link for that file. Is it possible to get it with metadata? Is it possible to get the share link for a file via api call? Can somebody help? Thank you.
-
Calling Methods "asTeamMember" dropbox V2 api .NET
In the V1 api you have the option to make a call as a team member that will: <param name="asTeamMember">Specify the member_id of the user that the app wants to act on.</param> This is the old V1 ListRevisionAsync: Task<IEnumerable<MetaData>> RevisionsAsync(string path, int rev_limit = 10, string locale = null, string…
-
Dropbox file path for direct acces
Hi everyone, I'm trying to develop a web application which would allow me to play audio files from my dropbox account. I'm using the Dropbox API to navigate through the files and folders in my account and get only the audio files i want. Is it possible to get the full path to a file from my account that would be accesible…
-
The dependency `SwiftyDropbox` is not used in any concrete target. error when installing framewo ...
rk with CocoaPods Hi, I get the following "The dependency `SwiftyDropbox` is not used in any concrete target." error when installing SwiftyDropbox into my xcode project usinf cocoapods. Please can anyone help? Thanks,
-
Dropbox API Access from Server within mainland china
It looks like the Dropbox API cannot be accessed from a server from within mailnand china - I am receiving timeouts :( Can anyone confirm, if dropbox is blocke in china or maybe point me to a solution?
-
How to detect an invalid share URL?
Hi, I am trying to make a small app which when gets an input of public dropbox URL, returns you the file. But when an invalid URL is entered, the status received is 200. But there is image showing 404. Is there a way or a api through which I could check if the shared link is valid or not?
-
SwiftyDropbox errors after installation
I'm trying to install SwiftyDropbox via cocoapods. After successful installation, I open .xcworkspace file, and see two errors: <SPAN class="pln">invalid </SPAN><SPAN class="kwd">virtual</SPAN><SPAN class="pln"> filesystem overlay file </SPAN><SPAN…
-
nil cursor never returned
Using this call https://api.dropboxapi.com/2/sharing/list_shared_links Getting a cursor back cause I had many many links; was working well, until this evening when it stopped working and now just loops, returning the same cursor again and again. Tried revoking my share? Tried deleting all the links, have only 15 now? Tried…
-
Powershell-Download not working api v2
Hi, I want to download with powershell a file from the dropbox.But I always get a 400 error. $arg = '{"path": "/'+$SourceFilePath+'.txt"}' $authorization = "Bearer <access token>" $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("Authorization", $authorization)…
-
UploadAsync will not overwrite
using Dropbox.NET. Calling UploadAsync with a commitInfo, and FileStream. commitInfo = new CommitInfo(path, writeMode.AsOverwrite, false, null, false); UploadAsync(commitInfo, aFileStream); The first upload of the file works fine. I then edit the file, by changing a line in it, and attempt another upload. It fails with:…
-
Java API failure after Proguard handling
Hi, I am experiencing difficulties on Java API. My android app is working normally when Proguard setting "minifiEnabled" is set to false, but will be malfunction if set to true. The following log is the related detail. 06-15 10:05:00.623 2823-2823/hk.com.fgoproduction.getdroplets W/System.err:…
-
HTTP request to dropbox APIs
how do we make HTTP requests to dropbox APIs?
-
Dropbox V2 API Java, Client call on Tomcat fails without any log details
Hi All, We are facing a really weird problem we can’t seem to get our head’s round. We have developed a simple Java call that will store our local files on our Dropbox account. We used the V2 API reference code as shown on https://www.dropbox.com/developers/documentation/java#tutorial without to many changes. The…
-
Dropbox API: find the the members of single shared file
My question is in regard to Dropbox file sharing API. Since June 2016 file can be shared with specific groups and users and external emails. Until now, specific sharing happened on the folder level. Is there any way to retrieve the file shared members from the API? I cannot find this answer in the documentation. Today, in…
-
Safely expose credentials to JavaScript client?
I'm building an application with Dropbox that allows the user to log in with Dropbox using OAuth 2. I've made an app on Dropbox, put the app key and app secret into my application code, and I can successfully authenticate the user without ever showing them my app secret, or the access token I received from Dropbox.…
-
Get Parent Id of a file/folder in a non shared folder .NET
How do you get the Parent Id of a file or folder that is contained in a folder that is not shared? Similar to ParentSharedFolderId in sharingInfo but solely for items in non-shared folders
-
IE11 Error when using dropbox filepicker api
Hi, In IE11, unless the browser explicetely adds dropbox.com to the trusted sites, the following error occurs when the file picker api was getting executed The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337 And after that from the picker user…
-
API errors 400 and 401
Hi everyone. I try to create an app and the debugger (GNU gdb 7.8 for MinGW 4.9.2 32 bit) gives me one time the error 401 and two times the error 400. 401: Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re-authenticate the user. 400: Bad input parameter.…
-
Is it possible to use the dropbox chooser on a desktop app? (node-webkit)
Hi, I'm developing a node-webkit application which integrates with dropbox. I would love to be able to use the dropbox chooser which is available for web-apps. However, because it's a desktop app, it doesn't have a host/domain name, so I can't register it with dropbox to grant it permission. Hence, when I try to access the…
-
Is there any API limits
Hi, I am working on developing an integration, would like to understand what are the API limits for Dropbox APIs v2 per day per user?
-
Dropbox API usage with trailing slashes
Hey guys, Our dropbox implementation appeared broken on production environment and we saw that a trailing slash on the following endpoint returned a unknown API endpoint error. This seemed to work fine ( with the trailing slashes "/" ) until earlier this week and looks like a recent regression. Also, am not sure if its…
-
Is it possible to create active users in a business account?
Hi there, I am using the Business API to create users in an account. I see in the documentation that we can enable/disable the email invitation by sending the flag in the payload. https://www.dropbox.com/developers-v1/business/docs#members-add Is there anyway to bypass the invitation mechanism that puts a user in a…
-
How to get Modifier of File/Folder V2 Api .net
How do you get the modifier of a file/folder using the V2 Api. Before the MetaData object had an attribute of "User modifier" but in the V2 Api I cannot seem to find this information. Is there a way to get it?
-
Chooser docs claim that direct links use CORS, but I get access control errors
I'm just cross-posting my SO question here, in case someone here has the expertise and can handle answering it in both places at once. http://stackoverflow.com/questions/37731412/dropbox-chooser-direct-links-docs-say-they-use-cors-but-i-get-access-control-e
-
Content-Type charset on safari and firefox
Hi, I'm trying to make a call to API V2 via the browser. Here in the spec you wrote > - Set the Content-Type to "text/plain; charset=dropbox-cors-hack" instead of "application/json" or "application/octet-stream". I tried doing this. It works on Chrome, but it somehow does not work on safari and Firefox. In both firefox and…
-
Passing null into dropbox team client AsMember method .net sdk
When you pass null into the team dropbox client AsMember method does it just use the current user? dropboxTeamClient.AsMember(null) <- what account gets used?
-
OAuth2 implicit grant (token flow) does not work in IE/.Net Winform WebBrowser
Currently I'm developing a .Net WinForms desktop app. I initiate a token-based OAuth2 flow with this URL in IE11 (or to be more precise: the WebBrowser control of .Net WinForms): https://www.dropbox.com/1/oauth2/authorize?response_type=token&client_id=<myappid>&redirect_uri=<myRedirectUrl>oauth_callback&state=<myState> I…