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

Better error message when requesting a bibliography in style that does not use bibliography #114

Open
tnajdek opened this issue Aug 23, 2021 · 0 comments

Comments

@tnajdek
Copy link
Member

tnajdek commented Aug 23, 2021

Currently, for a format=bib request, if style does not produce bibliography, API returns 500 with body "An error occurred". It should probably return 400 with a message saying something about requested style not producing a bibliography.

Web Library uses API to produce bibliography and would be nice if we could explain the problem better:

https://forums.zotero.org/discussion/comment/388843#Comment_388843

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

No branches or pull requests

1 participant