You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting max retries:
Max retries exceeded with url: /documents/d/405396d32ddaf0ae85bbb381/w/84cb220a3415aedfaf4c4c02/e/e02c7ca6c5bc16dd26949153/export?units=inch&scale=1&mode=binary&format=STL
Any clues?
This is what the code looks like:
Here is another code sample:payload = {'format': 'STL', 'mode': 'binary', 'scale': '1', 'units': 'inch'}
response = self._api.request('get', 'api/documents/d/' + did + '/w/' + wid + '/e/' + eid + '/export', query=payload, download=True)
[download] controls streaming = True.
The text was updated successfully, but these errors were encountered:
hi! looks like you're using the python app (which i wrote); be sure to put the forward slash "/" at the beginning of your URL path. also, "download" is not a param accepted by the module (or the python requests module itself)
Wish to download an stl file. Currently using a simple approach:
https://partner.dev.onshape.comapi/documents/d/405396d32ddaf0ae85bbb381/w/84cb220a3415aedfaf4c4c02/e/e02c7ca6c5bc16dd26949153/export?units=inch&scale=1&mode=binary&format=STL
Getting max retries:
Max retries exceeded with url: /documents/d/405396d32ddaf0ae85bbb381/w/84cb220a3415aedfaf4c4c02/e/e02c7ca6c5bc16dd26949153/export?units=inch&scale=1&mode=binary&format=STL
Any clues?
This is what the code looks like:
Here is another code sample:payload = {'format': 'STL', 'mode': 'binary', 'scale': '1', 'units': 'inch'}
response = self._api.request('get', 'api/documents/d/' + did + '/w/' + wid + '/e/' + eid + '/export', query=payload, download=True)
[download] controls streaming = True.
The text was updated successfully, but these errors were encountered: