-
Java API constant too_many_requests
Hey there, I have a small application that does the following: Download 2 Files locally. Modify those 2 files programatically. Wait 1 Minute. Upload File 1. Wait 1 Minute. Upload File 2. Usually, i do this once per day. Although I wait 1 Minute before doing requests I still get these errors on a regular basis with the…
-
How to get properties of a music file from metadata (Swift 5)
I'd like to get such properties of a music file as its artwork, duration, file size. But I do not find these properties in "entry" in the "result.entries" array.
-
When I try to get a list of files I get a nil in response (Swift 5)
I have a simple method where I want to get a list of the user's files. I took the implementation of this method from your PhotoWatch example. I also added a print at each step to track each step. But when I try to get a response, I get a nil. What's wrong? This user definitely has files in his Dropbox. I would be grateful…
-
Adding users to Development App Folder
I've setup a App in the app console that has app folder access. Any files uploaded to the users app folder will be processed by a backend system My webhooks etc are working well -> backend is properly notified when changes occur in the app folder. HOWEVER - how do I have other users add this app folder to their dropbox? A…
-
Error in call to API function "files/list_folder": request body: could not decode input as JSON
Looks like this question being raised before. i did try postman and able to pass the API message to box api and return sucessfully. i am integrate MT4/MQL4 language with Dropbox. The code is like this: int res; string signal,out_header,in_header,URL,in_signal; char body[],result[]; URL =…
-
Obtaining authorization token with code flow
I'm trying to obtain authorization token with code flow. I'm using spatie/flysystem-dropbox in laravel. I'm redirected to my site, with code parameter in url, but i can't get my token. I recieve this error: {"error_description":"No auth function available for given request","error":"invalid_request"}
-
Python SDK DropboxTeam.as_user throws BadInputException app_key is required to refresh tokens
dbx_t = dropbox.DropboxTeam( oauth2_refresh_token=refresh_token, app_key=app_key, app_secret=app_secret ) admin = dbx_t.team_token_get_authenticated_admin() dbx_t.as_user(admin.admin_profile.team_member_id) this raises File "venv/lib/python3.6/site-packages/dropbox/dropbox.py", line 715, in as_user team_member_id) File…
-
Create sharing link after file upload
I'm using the Javascript SDK, and code uploads some files, creating their parent folders, then creates a sharing link of one of the parent folders. But because javascript is asyncronous, the files haven't been uploaded, hence creating the folder, so creating the sharing link returns a path not found error. How can I get…
-
Create a shared link error
I am using the python sdk and I am having an issue creating a shared link for one of the users. The application has Permission Type 'App folder' The sharing_create_shared_link api is throwing this error: CreateSharedLinkError('path', LookupError('not_found', None)) I am positive that the path I am providing is correct as I…
-
choose “Permission type: Scoped App” Error
I used flutter to develop the app, but there's no official sdk, so I used dropbox api, and when I created the app I chose "Permission type: Scoped App", and I used oauth2/authorize. When you go to log in, nothing responds in the browser, is this a bug?
-
I have a problem with connecting Dropbox API to my iOS app with Swift 5
Dropbox API documentation is in front of my eyes, I do everything as it is written there step by step. But in some of the methods that are indicated there are errors and I do not know what to replace the entities that are indicated there. I can log in, but I cannot get the token, error instead: "-canOpenURL: failed for…
-
Create an App, get a Auth Token, try to use CURL to upload file, get a 400
Obviously I'm missing something. I have an account, and created an App. I also created an OAUTH Token. I then found this curl script, and want to uplaod a file: curl -X POST https://content.dropboxapi.com/2/files/upload \ --header "Authorization: Bearer <token>" \ --header "Dropbox-API-Arg: {\"path\": \"/1.jpg\"}" \…
-
Batch Dropbox Thumbnails .net SDK
Hello - Echoing some of the past sentiment here about the .net SDK samples being thin. I've spent a day or two looking for a good example on how to prepare the parameters and build the call to the GetThumnailBatchAsync method correctly. Presently, I am stuck on creating the ThumbnailArgs which appear to be provided as a…
-
Upgrading question
I built uploading/downloading application by using your SDK on C# which access token is from Free version. So when I update to Plus version, do I need to update access token and something changes to my code?
-
I no longer have full access with my API
Hi, I used to have a project where I had full access to dropobx API. I am changing the dropbox account to this one (<email address redacted>) but my program is no longer running. I see that dropbox acess has changes from "full" to "scope". I've chosen a few scopes, but I keep getting the error: required_scope =…
-
Dropbox App incremental permissions
Is there a way to change an application's permissions per user? For example, initially user can give only sign in permissions and later, if needed, give access to Dropbox files. With Google Apps (e.g. Google Drive) and Windows Live (e.g. OneDrive), you can change the scopes whenever you wish like described here, or by…
-
Dropbox Chooser doesn't work in Facebook in-app browser
The Dropbox chooser uses a popup which means it runs into issues with the Facebook in-app browser (which is launched anytime a user clicks a link on Facebook or Instagram). This browser doesn't support popups and instead opens the popup link in the same window. When the user chooses a file nothing happens. Is there anyway…
-
Incorrect AddFolderMemberError when not allowed to share externally
When I set 'Sharing files and folders externally' off for a Team and try to do Sharing/AddFolderMember for an external email address, I get the 'NoPermission' error instead of the 'CantShareOutsideTeam' error. Is this a bug, or am I missing something? Note: I am using the .Net SDK.
-
Associating a new file format with our custom application.
Hello, We have a new file format created for our application. So, our customers in their end would have Dropbox installed and will get these new files. So, the usage would be that first time when the users get these files and click on it, Dropbox should suggest that the application to read this file is available at…
-
Dropbox integration similar to Microsoft Office
Is there a plan to support a public API for an integration similar to the one you recently rolled out with Microsoft Office? We are developing an XML visual editor and we would like to offer our users the possibility to edit the documents right from the Dropbox interface. We have a similar integration with Google Drive and…
-
File and Folder Metadata server creation and server modified times
It would be incredibly convenient to be able to tell when files and folders have been added to our account. Ideally, we would have both a server_modified and server_created for both FileMetadata and FolderMetadata. For a little context, we have directories that we use for deliveries. The deliveries are each in directory…
-
409 error with list_shared_links and business account
Hi - We are getting the following error: {"error_summary": "path/not_found/", "error": {".tag": "path", "path": {".tag": "not_found"}}} When calling the: https://api.dropboxapi.com/2/sharing/list_shared_links Endpoint from a business account. It's not erroring with a normal/free user. Is there something I am missing here?…
-
how to get height and width of an image from the api
I want to display an image stored on dropbox on my webpage. I am using the Javascript SDK. I get a shared link via sharingCreateSharedLinkWithSettings and the image displays, but I want to specify the height and width in my img tag, and am missing that information. I tried filesGetMetadata but it does not return what I…
-
Python SDK remove inherited members from child folder
Hi, I'm trying to remove inherited members from a folder with structure "Team Folder/Shared Folder/Inherited Folder" but they do not have shared_folder_id of their own to target. I can do this from the UI by clicking the share button and remove "Members of Shared Folder". Is there a method to do this by path or folder ID…
-
Dropbox Extension and Access token
Hi all, I have question as developer, it is possible to get access token immediately when user click on button 'Open with', as I understand, my app should authenticate the user, but in some extensions the file opens immediately and I don't pass oauth authentication, but to open the file need an access token, please tell me…
-
Regarding Your app is not authorized to use this endpoint.
Hello, I am working on Dropbox API using below link HTTP API https://www.dropbox.com/developers/documentation/http/documentation We have created App and I would like to test File get, file list count and file put operation in Dropbox Account of User Once User give his/her authorization using O Auth-2, We are redirecting…
-
A blank Redirect URI in a mobile app is hanging the app
I am using Dropbox.Api NuGet package in a Xamarin Forms app. Though Xamarin is not supported officially, even after 5+ years of its existance, I could, and many like me, implement it successfully for Android and iOS apps using Xamarin. Your documentation and also as mentioned in several post in this forum I find that…
-
Use Dropbox API search results to generate dropbox.com file preview urls
We are creating application to help users find their files/folder in dropbox. For searching we used dropbox API route: https://api.dropboxapi.com/2/files/search_v2 The goal is: based on results generate proper dropbox.com urls to let user visit dropbox site with opened file. The issue is: results do not have namespaces in…
-
Dropbox chooser: "Could not communicate with site" in Microsoft edge
We are using the dropbox chooser on our demo website, it is working fine in most browsers expect Microsoft Edge (version 42.17134.1098.0 for example). The only thing that we noticed is a difference in the order of the URL parameters (not sure if this is the problem source): URL with error:…
-
Accessing Dropbox subfolders on IFTTT
Is there any way for IFTTT to monitor nested folders (i.e. subfolders) in Dropbox as oppose to top level folders? The google drive IFTTT integration appears to offer this capability, but I can't see you can do this with dropbox.. https://www.dropboxforum.com/t5/image/serverpage/image-id/17074i9D5DE9B02BECE904/…