api with "An error occurred"

The following API https://api.zotero.org/groups/bibliex/items?v=3 returns

Status code 500 with a short message body, "An error occurred"

Using the same configuration for the Zotero test user at "https://api.zotero.org/users/475425/collections?v=3" works fine.

Is there a special header or parameter configuration needed for ?

Thanks
JPR
  • edited August 8, 2019
    It should arguably be a 400 or 404, but that's a invalid request. You need to use the group id, not the group name.

    (Better to post any further API questions to zotero-dev. We try to keep technical discussions there.)
  • edited August 8, 2019
    I thought "bibliex" was the group ID? Where do I find the group ID? I'm an admin of the group, but I can't seem to find it if it's different than the name.

    The documentation only mentions "User IDs are different from usernames and can be found on the API Keys page and in OAuth responses."

    edit: also thanks for the ref to zotero-dev group, I didn't know it existed.

    Thanks!
  • No, that's the group name.

    You can get the group id from /users/<userID>/groups.
  • Works, thanks!
Sign In or Register to comment.