inveniosoftware / inveniosoftware/datacite
Handling of 422 Unprocessable Entity
Open
- Dominant language
- Python
- Stars
- 34
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to POST an already registered DOI to DataCite results in a 422 Unprocessable Entity. However, `DataCiteError` (defined in `errors.py`) does not have a case for this scenario, so such a response ends up being cast as a DataCiteServerError, which is meant for 5xx responses. In other words, a user error is converted into a server error.
Contributor guide
Assessment
This issue has not been assessed yet.