We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you PUT to a resource, and the data you're PUTting is in the right format but the db rejects it (e.g. because it fails to pass validation rules)...
The text was updated successfully, but these errors were encountered:
This has been fixed. Here's the relevant line, which uses 400 for validation errors and otherwise tries to make an intelligent status code decision: https://github.com/ethanresnick/json-api/blob/master/src/adapters/Mongoose/lib.js#L20
Sorry, something went wrong.
No branches or pull requests
If you PUT to a resource, and the data you're PUTting is in the right format but the db rejects it (e.g. because it fails to pass validation rules)...
The text was updated successfully, but these errors were encountered: