Thanks.
However. for some reason now the "dump" and "file" calls can find files.
They yield the following output:
>>zot.dump('SM7TPZLG')
Traceback (most recent call last):
File ~\anaconda3\lib\site-packages\pyzotero\zotero.py:433 in _retrieve_data
self.request.raise_for_status()
File ~\anaconda3\lib\site-packages\requests\models.py:1021 in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found for url: https://api.zotero.org/%5Cusers%5C2999351%5Citems%5CSM7TPZLG
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
Cell In[12], line 1
zot.dump('SM7TPZLG')
File ~\anaconda3\lib\site-packages\pyzotero\zotero.py:741 in dump
file = self.file(itemkey)
File ~\anaconda3\lib\site-packages\pyzotero\zotero.py:237 in wrapped_f
item = self._retrieve_data(fixed_path)
File ~\anaconda3\lib\site-packages\pyzotero\zotero.py:435 in _retrieve_data
error_handler(self, self.request, exc)
File ~\anaconda3\lib\site-packages\pyzotero\zotero.py:1667 in error_handler
raise error_codes.get(req.status_code)(err_msg(req)) from exc
ResourceNotFound:
Code: 404
URL: https://api.zotero.org/%5Cusers%5C2999351%5Citems%5CSM7TPZLG
Method: GET
Response: <h1>Not Found</h1>
<p>The page you requested could not be found.</p>
Whereas in the previous version 1.5.16 it does find them.
the 'item' call works fine.
Thanks. However. for some reason now the "dump" and "file" calls can find files. They yield the following output:
>>zot.dump('SM7TPZLG')
Whereas in the previous version 1.5.16 it does find them. the 'item' call works fine.
Thanks
Originally posted by @beastraban in https://github.com/urschrei/pyzotero/issues/166#issuecomment-1748283785