DEV Community

Hardik Radadiya
Hardik Radadiya

Posted on • Edited on

rake dropbox:authorize APP_KEY=81zjdh4nfctpdq7 APP_SECRET=mxjs2y3bkeppmsy ACCESS_TYPE = app_folder.

rake aborted!
DropboxAuthError: Error getting request token. Is your app key and secret correctly set? Server returned 400: Bad Request.
/home/richard/.rvm/gems/ruby-2.3.1/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:277:in get_token'
/home/richard/.rvm/gems/ruby-2.3.1/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:293:in
get_request_token'
/home/richard/.rvm/gems/ruby-2.3.1/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:299:in get_authorize_url'
/home/richard/.rvm/gems/ruby-2.3.1/gems/paperclip-dropbox-1.3.2/lib/paperclip/dropbox/rake.rb:11:in
authorize'
/home/richard/.rvm/gems/ruby-2.3.1/gems/paperclip-dropbox-1.3.2/lib/paperclip/dropbox/tasks.rake:11:in block (2 levels) in <main>'
/home/richard/.rvm/gems/ruby-2.3.1/gems/rake-12.3.3/exe/rake:27:in
'
/home/richard/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in eval'
/home/richard/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in
'
Tasks: TOP => dropbox:authorize

Top comments (1)

Collapse
 
highcenburg profile image
Vicente G. Reyes

I would delete your API keys if I were you