Forbidden (403) message when using API
I'm getting a 403 (or 400) "forbidden" message when I try to access my API:
Client error '400 Bad Request' for url 'https://api.zotero.org/users/[XXXXX]/items?locale=en-US&itemType={'annotation'}&since=0&format=json&limit=100'
I can provide my user number instead of XXXXX if helpful. But I wondered if this was a broader problem? Or if I've been blocked etc.
Thanks
Client error '400 Bad Request' for url 'https://api.zotero.org/users/[XXXXX]/items?locale=en-US&itemType={'annotation'}&since=0&format=json&limit=100'
I can provide my user number instead of XXXXX if helpful. But I wondered if this was a broader problem? Or if I've been blocked etc.
Thanks
This discussion has been closed.
It was working fine until last week. It hasn't run successfully since then.
FWIW, the call should be
itemType=annotation
, not {'annotation'}, I'm assuming there's some missing data type conversion in the script.