Actually i am wondering because my dropbox was working fine a week ago
and suddenly stop to work
the steps which i follow trying to fix the problem all failed
the steps as follow.
- remove dropoxkey and dropbox pass from site_config.json
- remove Dropbox app and create a new one with new pass new key even new token
- make a new dropbox account with new email - new app - new key,secret,token
and put all the new mix in my site_config.json
But fail
There is my new setting .
and this is my
site_config.json
frappe@erpnext:~/frappe-bench/sites/erp.fastgrp.net$ cat site_config.json
{
“access_token”: “",
“db_name”: "",
“db_password”: “*******",
“developer_mode”: 1,
“dropbox_access_key”: "”,
“dropbox_secret_key”: "***************”,
=====================================
Note: i added access-token and test and i removed the access-token from my site_config.json
in both cases i cant click Allow access
Note: i also bench restart
to be sure that every thing is updateted
i dont know what is prevent the authentication and make it wrong
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 52, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 54, 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: [400] u’v1_retired’