cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

erpnext integeration with dropbox v2

erpnext integeration with dropbox v2

sheno
New member | Level 2

 

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 3

Mark
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.

 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

Rich
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.
New member | Level 2
Upgrade 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_se...
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Revant N. New member | Level 2
  • User avatar
    Rich Super User II
  • User avatar
    Mark Super User II
What do Dropbox user levels mean?