-
Dropbox API - files/list_folder : request body: could not decode input as JSON
I have a windows app that creates an HTTP request. When I use apis that don't have arguments, everything works fine, but when I use one that needs arguments in the body like the files/list_folder, I can never get it to work. I'm definitely putting json in there, but for some reason it doesn't recognize. I've tried it as a…
-
links for multiple files in a shared folder
Is there a way to link to specfic files within a shared folder without creating links for each individual file? I have an images folder which I created a shared link that contains multiple (1000+) files. If I want to build a url link to an individual file within the shared folder it seems like I should be able to add the…
-
get_metadata endpoint cannot find valid namespace IDs
I am currently iterating over a list of all namespace IDs from a given teamroom. When i supply these namespace IDs to the files/list_folder endpoint, I recieve a valid response of all files found within that namespace, so the namespace ID is valid. However when i supply the same namespace ID to the files/get_metadata…
-
OAuth 2.0 for native apps
Hi, How a native app (a desktop application) can implement and use the Authorization flow without having to know/use the app's secret? Quoting from here: "The current industry best practice is to use the Authorization Flow while omitting the client secret, and to use an external user agent to complete the flow." The…
-
API limits on RPC endpoints
As per the Dropbox API doc, there limits to the API calls, but Dropbox does not wish to disclose any info on limitations. I understand that there might be daily/monthly quota on upload/download APIs, but what are the limitations on RPC endpoints? The reason I ask this is because, I will be doing a complete scan of pretty…
-
Embedded webview OAuth issues in iOS app (just started this week)
We have an iOS app that has been in production and working great for nearly two months. We're not using the Dropbox SDK, but instead have rolled our own library that uses an embedded UIWebView for handling OAuth and then an implementation that works directly against REST APIs (V2) for access to user data. As of Dec 15th,…
-
Issues with long term polling for file changes
My (Java) app. needs to know how a Dropbox filesystem (or part of it) changes and also has changed while she's not running. The listFolderLongpoll API seems to be well suited for this purpose and my first tests are promissing. First question: how long will a cursor be valid ?, for a few hours? , days ?, more ? But there is…
-
How to upload iOS ipa file to Dropbox using fastlane and circleci script?
I want to add steps in Fastlane and CircleCI script to upload iOS IPA file to Dropbox after each release. I use the Fastlane plugin 'dropbox' to upload the IPA file. I created an app in the dropbox website(https://www.dropbox.com/developers/apps), then I got the App key and App secret, these look great and the prompt…
-
remove hashtag from return query
When using the Javascript API, the app is set up to return a value to my response page. The querystring is pre-pended with a hashtag : #access_token=blahblahblah THe problem is that the server side cannot see the URL after the hashtag, is there a way to remove this from the return string?
-
Upload PDF files/proper encoding
I have a simple Python Flask application that allows users to upload PDF files to a Dropbox account. I am able to successfully upload the file to Dropbox, as well as go directly go to dropbox.com and download the file. But when I try to open the file I just downloaded from dropbox.com directly it mentions that the file is…
-
Dropbox with React-Native
Is it possible to create Dropbox component with React-Native?, i'm trying to create the same, with the guide of dropbox android. Dropbox application will be open well, but file selections can't be done. got a error message like " unfortunately application closed".
-
Dropbox with React-native
Is it possible to create dropbox component with react-native ?
-
Trying to use Dropbox Chooser with Google Apps Script Web App
Getting the error: Origin does not match any app domain This is my setup function: function setupDropBox() { var options ={success: function(files) {dbxUpload(files);}} var button = Dropbox.createChooseButton(options); document.getElementById("dropbox_controls").appendChild(button); } Inserted this into the <head> <script…
-
How can I use the externalId of a TeamMemberProfile (Java API) ?
I discovered the field externalId in the class com.dropbox.core.v2.team.MemberProfile and I would like to use it to identify a team member with an "App related ID" (exactly the purpose of externalId as described in the Java-doc). The only way I could find to set this "externalId" is with a MemberProfile constructor, and…
-
How do I get the content from shared HTML file?
Hi! I am working with shared links files on my Dropbox App in PHP and I need a hand. Currently, I send a request file to the API and get back a HTML file: array(1) { [0]=> array(10) { [".tag"]=> string(4) "file" ["name"]=> string(28) "FiatoRetB_C_V02DesignB1.html" ["path_lower"]=> string(51)…
-
Can't install Dropbox SDK on Arduino Yun
Hi, sorry if this is a very dumb question but I have very little Linux knowledge and I wonder if you could help me. (I've tried the Arduino forum with no answer so far. I will post the solution there once I got it working because I think Dropbox & Arduino are a killer couple...) I'm trying to install Dropbox SDK on an…
-
Calling /2/files/list_folder/continue without headers
There are several endpoints that have a corresponding `continue` endpoint that allow for pagination. My question is do the corresponding `continue` endpoints require the same headers and json body that was passed initially. For example I call /2/files/list_folder with following headers and request body Headers =…
-
Calculating the size of all deleted files
I had posted a similar question in the past and was told that I need to call `/2/files/list_revisions` to calculate the size of the deleted files. I collect the list of deleted items by listing each folder, but the Dropbox response does not tell whether the deleted item is a file or a folder. Since there is no way to tell…
-
Unique file id not really unique
Hi I'm facing a problem regarding "unique" file id. I got 2 completely different files that have exactly the same id. What is the purpose of this "unique" id if it is not unique. I have a business account. In v2 API communication webpage available here it is clearly written: Spoiler File IDs Developers have often asked us…
-
Dropbox App sharing questions
I want a handful of users to be able to read and write files to a folder programmatically. I've created an App and, using the "Generate Token" button, I can read and write to the App folder programmatically. Now, I want to enable a limited set of other users to do the same. What's the best way to do so? The App page says I…
-
Importing Images into DropBox from a CSV containing image urls
Hello, I have a shopify site which allows customers to upload photos for personalised products - using their uploadery and easy reports apps I can then export a CSV of all orders with each record including customer detail and a url for their uploaded image. I would like to find a simple (Zapier or other) way of creating a…
-
Get filename for file uploaded with file_request_create
Hi, I have an internal website where employees can upload files to a link I generate using the dbx. file_requests_create api. Is there a way for me to get the name of the file they upload? right now all the files are collected into a single folder and I can't correlate which file came from which request. When I create the…
-
Read file contents using java
I wanna preiew a file content with out downloaded using java , i tried to work with getTemporaryLink but when iv coped this link it download the file not streaming the content in the browser. i need you help here :)
-
How to display thumbnails in it's original size with PHP
Hi! I am trying to display my Dropbox images on the browser using /get_thumbnail which works just fine. However, the image on the browser it's too small. It's not the original size. This is the png image on my Dropbox account: And this is the same image I got from the API: As you can see, it's impossible to see the image.…
-
BadResponseException: Bad JSON
Hi there, I've recently ran into an issue with Dropbox API (Java dropbox-sdk-java v2.1.1) that started as early as Mar 8. It happens when trying to create a shared link when one has already been created -- normally this produces a CreateSharedLinkWithSettingsErrorException, but now, a BadResponseException is returned. I'm…
-
Limit Dropbox Paper API search to folder
Hi, I am using https://www.dropbox.com/developers/paper-api-alpha#paper-docs-search and was wondering if there are any other - maybe undocumented - params that I can use to limit the documents eg to papers edited by a certain user or that are within a subfolder? Thanks Andreas
-
list_shared_links says I have no shared links...but I do have them..,
So...I made a call to `list_shared_links` precisely because a call to create a shared link said the link already existed...I didn't cache some of them originally...so I was writing code to detect this error and list shared links so it could cache them...but it's saying I have no files in a folder I know that I do.... curl…
-
Dropbox.Api.AccessException: invalid_account_type/feature/
System.AggregateException: One or more errors occurred. ---> Dropbox.Api.AccessException: invalid_account_type/feature/...at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__2d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at…
-
Create Property Template in API2 Java
Hi, I want to save some custom properties to a file that I upload. It appears that in order to add property/property groups, I need to supply a template Id but I'm not able to find a way to create/add a template using the Java SDK. Can you provide some pointers on the process for creating templates? Thanks
-
OAuth2 access token request invalid - grant_type expecting \"authorization_code"\
Hi, I am trying to obtain an acces token by converting the authorization code. I followed both documentation available in the following links: https://www.dropbox.com/developers-v1/core/docs#oa2-token https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/ This is the code I am runing after being…