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

Error Handling - Better validation on PUT and PATCH operations #233

Open
dzahariev opened this issue Feb 23, 2019 · 0 comments
Open

Error Handling - Better validation on PUT and PATCH operations #233

dzahariev opened this issue Feb 23, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dzahariev
Copy link
Member

When I try to register broker, or platform, I may get a 500 as response without clear reason what is wrong in my payload.
APIs need to have better validation on PUT, PATCH and POST requests and to return back the message with meaningful information what was wrong in payload.

Example of such messages are:
"Wrong broker URL"
"Wrong broker credentials"
"Malformed broker URL"
"Invalid payload format (Not a valid JSON)"
"Missing label for plan <>"
"Too long broker name - allowed size is XX"

@EpsilonTal EpsilonTal added the enhancement New feature or request label Dec 27, 2021
@EpsilonTal EpsilonTal changed the title Better validation on PUT and PATCH operations Error Handling - Better validation on PUT and PATCH operations Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants