-
Automatically accept shared folders
Is there a setting that i can have that will automatically add a shared folder to my dropbox ? Right now im getting prompted with this msg whenever someone added me into the list of users for a folder. Is there a way that the folders are automatically added to my dropbox whenever im given permission to a folder?
-
Check if Folder Exists
Can I do this in my code ? Are there any better way ? Public Async Function FolderExists(Client As DropboxClient, Optional Path As String = ("/Apps")) As Task(Of Boolean) System.Diagnostics.Debug.WriteLine("--- Checking Folder ---") Dim list = Await Client.Files.ListFolderAsync(Path) ' show folders then files For Each item…
-
Webhooks Business API .NET
Hi. I'm using webhooks to monitor files/folders changes. For personal accounts all is good, I manage to do it, but I do have issues with Team accounts. First of all, I do have console app which is for using the Business API and do have member file access permission. On login I do save teamId, teamAdminId and the token…
-
request_id in team_log/get_events and associating API actions with events
I am developing Dropbox apps, utilizing both User and Business endpoints to perform actions on files, as well as the event log for analytics purposes. I am looking to associate file actions performed by the app through API calls (e.g., a file download through the "/files/download" endpoint) with the corresponding events as…
-
Can you embed a Dropbox folder on a website or webpage?
What are good ways to embed dropbox folder in the a webpage like a Google drive for example ? <iframe src="https://drive.google.com/embeddedfolderview?id=1234567890#list" width="100%" height="800" frameborder="0"></iframe>
-
ParentSharedFolderId is Null when checking permissions
I previously made a program that goes through my entire team's DropBox permissions and creates a report from the data. It tells me their name, permissions for the current file/folder, the name of the current file/folder, and is supposed to share the parent folder's name. However, I am running into the issue of the…
-
Download any file as a Stream using C# SDK
Hey, I'm wanting to download a file through the C# SDK, however I'm having issues when it is of the Dropbox .paper or similar cloud storage file type. I'm wanting it as a MemoryStream for my team and I to work with. Using the DropboxClient.Files.DownloadAsync, I'm given an Unsupported Type error when attempting to download…
-
Dropbox V2 error 429 and more error
I am using dropbox business (other Account) for storage Image. My system has 100 and more people using. I am using javascript API V2 to upload image. 3 images upload at time then get thumb of 3 Image for display. - For example: I need upload 100 file: 3 file upload success -> 3 upload success ->...... But some times has…
-
Can't close the page after authentication
Hi I use the below code for dropbox login DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self, openURL: {(url: URL) -> Void in UIApplication.shared.openURL(url) }) it works perfectly, But after login window, it will ask permission to access the files and folder from dropbox. If I click the…
-
Uploading files to a shared folder
I need to upload a series of 4 files each day to a Dropbox account from my platform, using the Dropbox API. These files are to be read by an external company. The external company has a Dropbox account and my own company also has a separate Dropbox account. My question is about security. If we get an OAuth access token for…
-
Getting shared link for each file takes a lot of time
Hello everyone! Im building something associated with dropbox for my thesis. As I am fetching the files with the 'files/list_folder' endpoint, I wanted for each file, to check if it has a "shared link" . For example, in my drive I have 42 files in root folder. Fetching all those files plus for each file fetching if it has…
-
Webhooks (Dropbox Business API)
When file or folder changes in the account, Dropbox webhook sends notification to the app in the form of - {"list_folder": {"teams": {"dbtid:AADClDNgkem9dWq1M3thVc3K4-93Cl3zWx0": ["dbmid:AADP2xgTpjhFFOMURG5yAZTOVv2T3wkrkyY", "dbmid:AAAwp8MhW85Op96vIjatg9vPYizLr8B8O68"]}}, "delta": {"teams":…
-
Can we delete /suspend user from Dropbox using .NET api
How can we delete / suspend user from dropbox using .NET api. I wanted to create console application which take users as input and delete or suspend user from dropbox. Will it be possible?
-
Dropbox API showing the two files same ID
Hi, We are using the Dropbox API to list files /folders (https://api.dropboxapi.com/2/files/list_folder) I have a find a issue is two files having same ID ..could you please tell us how it is possible? Can any two files have same ID's.. We are listing around 1000 files and in those I found two files have same ID.. Please…
-
Calculating folder size using C# SDK
I was looking into calculating total file size within a folder programmatically for display purposes. I have a method that calls DropboxClient.ListFoldersAsync with the path and recursive set to true, then iterate through each of the objects that are MetaData.IsFile and adds the size. The FileMetaData.Size for .paper or…
-
Error In Uploading a file
Hello Experts I am New To Dropbox Api And Today i was trying to uplaod a file from api but got error . Unknown API function: "files/upload \\eHiSS5jxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx i am using Http api and my code is function main() local oHTTP,cJSON,url setmode(25,80) ctoken := "<REDACTED>" url :=…
-
What Happens To Incomplete Upload Session Start Commands
Hi Hopefully an easy one to answer. "What happens to incomplete Upload Session Starts"?? For Example... I script an upload session start. I have a Session End script waiting for the Reply with SessionID What if I dont receive this?? (Network Glitch Etc) The session end script will be hanging The session will not end. I…
-
Get Video Details
Are there any endpoint exist that i can read frame rate, aspect ration and bit rate fields for video files ?
-
Dropbox JAVA SDK - Maven dependency issue
Hi there, I am trying to integrate Dropbox with AEM using JAVA SDK https://www.dropbox.com/developers/documentation/java I have also added a maven dependency as mentioned at: https://github.com/dropbox/dropbox-sdk-java but looks like AEM OSGi framework is not unable to get transitive dependencies such as: android.app --…
-
Get parent team folder from name space
Hey, When I am using https://www.dropbox.com/developers/documentation/http/documentation#team_log-get_events-continue to get events I got the path without the team folder and the minimum shared parent folder namespace witch could be a inner folder inside the team folder. from your API I understand that teams may have…
-
API get_metadata returns 429 text/html
Recently we've been getting text/html 429 responses from the get_metadata endpoint, when we specify Accept: application/json header. Response: {:request=>{:url=>"https://api.dropboxapi.com/2/", :endpoint=>"files/get_metadata", :body=>"{\"path\":\"/myfolder\",\"include_deleted\":true}"}, :response=>{:code=>429,…
-
WebHook was triggered automatically
Hi there, I am using web hook to know if any of my customers make change to their shared folders. Everything has been working fine for months then suddenly I saw a massive web hook activities come at once. They are from all of my customers which is impossible. Please tell me what is happening? How to prevent it from…
-
JAVA nio filesystem
Francis G wrote a java nio filesystem wrapper around v1 of the dropbox api. I have just managed to make that run to find that v1 of the API is now retired. Has anyone written a nio filesystem wrapper which uses v2 of the api. In the end I can follow the migration guide and try updating it all to v2, but it would be nice…
-
How to upload file to Dropbox with axios
Since request package is depricated (https://www.npmjs.com/package/request ) I opt to use axios for interaction with Dropbox API. I need to upload files from node.js server I'm getting error "Request failed with status code 400". Here is my code. What I'm doing wrong? const uploadToExternalService = async function…
-
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…