我在Dropbox上創建了一個應用程序,我正在遵循https://github.com/robin850/carrierwave-dropbox步驟,但無法獲取訪問令牌。 雖然我提供了正確的密鑰和應用程序的祕密,但它無法獲取允許我的應用程序的鏈接,但它有400個不好的請求。carrierwave-dropbox授權
以下是錯誤和我創建的Ruby-on-Rails應用程序:
rake aborted!
DropboxAuthError: Error getting request token. Is your app key and secret correctly set? Server returned 400: Bad Request.
/var/lib/gems/2.3.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:277:in `get_token'
/var/lib/gems/2.3.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:293:in `get_request_token'
/var/lib/gems/2.3.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:299:in `get_authorize_url'
/var/lib/gems/2.3.0/gems/carrierwave-dropbox-1.2.1/lib/carrierwave/dropbox/rake.rb:13:in `authorize'
/var/lib/gems/2.3.0/gems/carrierwave-dropbox-1.2.1/lib/carrierwave/dropbox/authorize.rake:11:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => dropbox:authorize
(See full trace by running task with --trace)
nope,因爲第一步是授權它 –
我假設你已經創建了一個Dropbox應用程序,並把正確的應用程序密鑰和祕密 –
是的我已經把正確的密鑰和應用程序的祕密,但它不給我的鏈接允許我的應用程序 –