Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

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

@dzahariev

Description

@dzahariev

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions