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

chore(marketplace) - fix the http error codes when validating the availability requests #1104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

2-towns
Copy link
Contributor

@2-towns 2-towns commented Feb 7, 2025

This PR fixes #884 and fixes the semantics regarding the validation error codes.

400 should be returned when the request cannot be processed (malformatted for example) rfc.
422 should be returned when the request has semantic errors (validation error for example) rfc.

@2-towns 2-towns self-assigned this Feb 7, 2025
@2-towns 2-towns added Marketplace See https://miro.com/app/board/uXjVNZ03E-c=/ for details API labels Feb 7, 2025
@2-towns 2-towns marked this pull request as ready for review February 7, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Marketplace See https://miro.com/app/board/uXjVNZ03E-c=/ for details
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] PATCH Availability's totalSize above node's quota should not result with 500, but 400
1 participant