Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating item returns "Invalid request, probably due to unsupported parameters" #16

Open
stakats opened this issue Mar 12, 2012 · 4 comments

Comments

@stakats
Copy link
Contributor

stakats commented Mar 12, 2012

Attempting to update an attachment with update_item() returns an Invalid Request. The only metadata I'm changing are the attachment's tags.

@urschrei
Copy link
Owner

I have no idea why this is failing – it's working fine for non-attachment items, and the JSON it's sending is valid. I'll ask on the mailing list.

@urschrei
Copy link
Owner

Adding a link to the mailing list discussion, as this is apparently an API limitation: https://groups.google.com/forum/?fromgroups#!topic/zotero-dev/cpTuzyp-keY

@urschrei
Copy link
Owner

This issue is still open on the Zotero side: zotero/dataserver#1

@tetris-11
Copy link

tetris-11 commented Mar 24, 2017

Quick note -- for those still encountering this problem:

myitem = zot.item('KCP87MZI')                                                                                                              

zot.update_item( myitem )          # This fails
zot.update_item( myitem['data'] )  # This updates fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants