Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sheno
9 years agoNew member | Level 2
erpnext integeration with dropbox v2
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'
==========
3 Replies
- Mark9 years ago
Super User II
I'm not sure what the issue is (you really need to let people know), however, the last line of that coding does give you a clue in that the API being used is the old v1 system which has been depreciated. - Rich9 years ago
Super User II
As Mark mentioned, the API being used by that app was retired. You'll need to contact the developers of the app you're using as this is a problem that only they can resolve.
In June of 2016, Dropbox notified third-party developers that the Dropbox API v1 was being deprecated and any applications that still used it would need to be updated to use API v2. Those applications that didn't update would eventually be unable to connect to Dropbox. Fast-forward 15 months to September 2017, and Dropbox has finally shutdown API v1. The app you're using was apparently never updated to use API v2, so it is now unable to connect.
Only the developers of the app can correct this, and they can only do it by updating their application to use the newer API. - Revant N.9 years agoNew member | Level 2Upgrade to latest frappe and erpnext on your server.
v8.x.x branch and above will have Dropbox v2 API.
Related forum links :
https://discuss.erpnext.com/t/version-8-x-x-maintained/28772
https://discuss.erpnext.com/t/dropbox-allow-access/29727
github branch reference : https://github.com/frappe/frappe/blob/v8.x.x/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!