Traceback (most recent call last):
File "/home/erp/erpnext/apps/frappe/frappe/app.py", line 61, in application
response = frappe.api.handle()
File "/home/erp/erpnext/apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "/home/erp/erpnext/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
File "/home/erp/erpnext/apps/frappe/frappe/handler.py", line 52, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/erp/erpnext/apps/frappe/frappe/__init__.py", line 914, in call
return fn(*args, **newargs)
File "/home/erp/erpnext/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 254, in dropbox_auth_finish
token = dropbox_oauth_flow.finish({'state': callback.state, 'code': callback.code})
File "/home/erp/erpnext/env/local/lib/python2.7/site-packages/dropbox/oauth.py", line 426, in finish
no_redirect_result = self._finish(code, self.redirect_uri)
File "/home/erp/erpnext/env/local/lib/python2.7/site-packages/dropbox/oauth.py", line 120, in _finish
resp.raise_for_status()
File "/home/erp/erpnext/env/local/lib/python2.7/site-packages/requests/models.py", line 928, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request for url: https://www.dropbox.com/oauth2/token
Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app’s developer, include the information below.
More details for developers
Invalid redirect_uri. When response_type=code, only localhost URIs can start with “http://”; all others must start with “https://”.