Dropbox Backup Error please help

I have read the dropbox setup documentation.

    Open Source Users


Step 1: Go to https://www.dropbox.com/developers/apps
Step 2: Create a new app
 
Step 3: Fill in details for the app.
 

Step 4: After the app is created, note the app key and app secret and enter in `sites/{sitename}/site_config.json` as follows,

{ 
 "db_name": "demo", 
 "db_password": "DZ1Idd55xJ9qvkHvUH", 
 "dropbox_access_key": "ACCESSKEY", 
 "dropbox_secret_key": "SECRECTKEY" 
} 

Step 5: Setup dropbox backups from the backup manager as shown in previous section.

But wenever i try to setup the dropbox by going “setup>dropbox backup” i get an error

    Traceback (innermost last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
    response = frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 806, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_backup/dropbox_backup.py", line 80, in get_dropbox_authorize_url
    request_token = sess.obtain_request_token()
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/session.py", line 216, in obtain_request_token
    response = self.rest_client.POST(url, headers=headers, params=params, raw_response=True)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 322, in POST
    return cls.IMPL.POST(*n, **kw)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 260, in POST
    is_json_request=is_json_request)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 235, in request
    raise ErrorResponse(r, r.read())
 ErrorResponse: [401] u'Unauthorized'

Please resolve this error & the images are not loading on documentation.

Seems like an authentication / API Keys issue.

Hi,

I too am facing the same issue. How to debug it?

Thanks,
Raghu

when i put the api keys i have internal error issue any solution?