The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.
Questions tagged [dropbox-sdk-js]
70 questions
0
votes
1 answer
Get File Created Date from Dropbox JS SDK/API
I want to extract the file created date from the DROPBOX API using JS. I have tried to fetch the modification date but not able to find the file creation date
Any help is greatly appreciated.
Dropbox…

Code Guy
- 3,059
- 2
- 30
- 74
0
votes
1 answer
How to achieve the Dropbox equivalent of long-lived token now that they're gone (dropbox-sdk-js, Meteor, React)
For a while now I've been using dropbopx-sdk-js in a Meteor application without any trouble.
My Meteor app simply uses Dropbox to fetch images to be used in product cards. These files are synced now and then and that's it. By synced what I mean is…

Lalo Mores
- 91
- 9
0
votes
1 answer
How to implement DropboxOAuth2Flow in node.js?
In the Dropbox markdown webhook example, they used the DropboxOAuth2Flow from the Python SDK to link a Dropbox account to the Webhook app. I want to implement the same thing in Node.js and I couldn't find any thing similar in their JavaScript SDK…

DINO
- 191
- 1
- 12
0
votes
1 answer
Dropbox API integration on AWS Lambda gets FetchError (ETIMEDOUT)
I have a node.js app which runs on AWS Lambda. The Lambda is connected with a VPC. It goes internet with a static IP. I use v10.23.0 dropbox-sdk-js. It always seems to run on my local but it sometimes runs on the lambda, sometimes gets fetch…

rdvnkrtl
- 11
- 2
0
votes
0 answers
Dropbox chooser for Angular
I am trying to implement dropbox chooser within my angular app.
but the chooser code is in javascript, I don't know how to implement js in angular as I am new to it.
my js code for chooser is here.
options = {
success: function(files) {
…

Zahid Hussain Ansari
- 11
- 3
0
votes
1 answer
Cannot create a shared link with Dropbox SDK
I'm having an issue logging the sharingCreateSharedLinkWithSettings method response. I've tried using short and long lived tokens and I get 409/400/401 error codes. I'm also not too sure what the path should be. If the app folder is called tron and…

oxxi
- 452
- 3
- 11
- 28
0
votes
1 answer
Display image from Dropbox to a webpage
So, I am trying to display an image on my web application. I am getting this image from a Dropbox folder. I want to get a URL I could use to show the image in HTML using the src attribute.
I have written this code:
function downloadFile() {
var…

user29
- 9
- 4
0
votes
1 answer
Is there anyway/endpoint to create access_token in code for Dropbox SDK authorization?
I am using dropbox javascript sdk for file uploads using following end points.
For file below 150MB
/upload
For file above 150MB
/files/upload_session/start
/files/upload_session/append_v2
For Authorization, I am using the following code for…

Shahid Rafiq
- 669
- 1
- 12
- 27
0
votes
1 answer
Excel files uploaded to Dropbox using Node.js SDK are invalid
I am trying to upload Excel files to Dropbox using the Node.js SDK (https://github.com/dropbox/dropbox-sdk-js). The files are received from JsReport, and are saved correctly when saved to my local disk. However, when uploading to Dropbox, the files…

Nathanael Troyer
- 339
- 3
- 9
0
votes
0 answers
Obtain short lived access token from dropbox without redirect url(through .net code or javascript)
I am trying to implement a way to obtain a short lived access token from dropbox, then upload multiple file to a folder. and finally revoke the token.
This can obtain access token can be .net code or in javascript. But what I am seeing from the…

ali
- 1,023
- 2
- 14
- 38
0
votes
1 answer
What does it mean "orderby: other" in Dropbox SDK
I'm using dropbox api to search files in a connected account. I need to implement feature to sort search result by selected criteria. For example, I need sort files by last modifying time or by title (in alphabetical order). In dropbox documentation…

Ivan Banha
- 753
- 2
- 12
- 23
0
votes
0 answers
Vue.js component's methodreturns "undefined" to the HTML
I have tried to experience the Dropbox API, according to Packt's Book "Complete Vue.js 2 Web Development (Chapter 4)".
Since the include_media_info has been deprecated recently, I tried to adapt the example code to dropbox().filesGetMetadata() to…

Chan Xens
- 43
- 4
0
votes
0 answers
Dropbox Saver API url as base64 works when upload 1 file when upload multiple i got error?
i used "https://www.dropbox.com/developers/saver" Api and based on document to upload multiple file i send list of base64 string to Dropbox, but i got an error fail to upload, when select only one file it uploaded successfully!
and here sample…

Mokh Akh
- 421
- 3
- 14
0
votes
1 answer
Acquire Access Token from Dropbox Oauth Redirect Using Vue Router
I am working with Dropbox JS SDK and implementing OAuth2 using the getAuthenticationUrl method. This method requires a redirect url which when implemented opens a new tab with a url:…

ExcessJudgment
- 228
- 1
- 9
0
votes
1 answer
Download dropbox images to Netlify build folder
I'm trying to retrieve images from my dropbox folder into my Jekyll build on Netlify, but the images are unreadable with the following code. I think that I'm using the wrong conversion for the contents.
dbx
.filesListFolder({ path: "/images" })
…

mettamyron
- 11
- 3