Dropbox Authentication Error: Key must be a buffer
See original GitHub issueWhen I authentication to dropbox I have get “key must be a buffer” error. Why I’m getting this?
const options = {
providerOptions: {
google: {
key: process.env.UPPYSERVER_GOOGLE_KEY,
secret: process.env.UPPYSERVER_GOOGLE_SECRET
},
dropbox: {
key: process.env.UPPYSERVER_DROPBOX_KEY,
secret: process.env.UPPYSERVER_DROPBOX_SECRET
},
},
server: {
host: 'localhost:3000',
protocol: 'http',
},
filePath: '/tmp/',
};
app.use(uppy.app(options));
// handle 404
app.use((req, res, next) => {
return res.status(404).json({ message: 'Not Found' })
})
// handle server errors
app.use((err, req, res, next) => {
console.error('\x1b[31m', err.stack, '\x1b[0m')
res.status(err.status || 500).json({ message: err.message, error: err })
})
process.on("uncaughtException", function(err) {
console.log(err)
});
const server = app.listen(3000)
uppy.socket(server, options)



Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
authentication error - Dropbox Community
i created the app and got the app and secret keys from there, passed the keys to DropboxOAuth2FlowNoRedirect. after i got the url,...
Read more >Dropbox Extension Error Codes - ServMask Helpdesk
Proxy authentication required. The client must first authenticate themselves with the proxy. Code: 408 'Request Timeout' Request timed out. The ...
Read more >PKCE: What and Why? - Dropbox Tech Blog
Come learn about the PKCE OAuth flow! How it works, why it's valuable, and how to use it to authorize your Dropbox app....
Read more >Global Flags - Rclone
They control the backends and may be set in the config file. ... rclone to work on shared folders --dropbox-token string OAuth Access...
Read more >Embed a CLA Signing Page Using NodeJS with the Dropbox Sign ...
Get your CLAs signed easier using the Dropbox Sign API and GitHub API. ... information that should not be hardcoded like application keys...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah absolutely 😅 Glad that worked!
Fixed ! Thank you for your interest. I think you should add this to the documentation 😃