-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When attempting to register an unknown entity, the system currently responds with a 200 status code, which is misleading. The node operator may think the registration was successful, but it actually was not.
Expected behavior:
- The API should return a 400 error response when an unknown registration is attempted.
Actual behavior:
- The API returns a 200 status code even when the registration is unknown and fails.
Impact:
- This may cause node operators to believe a registration went through successfully when it did not, potentially leading to operational confusion and misconfiguration.
Steps to reproduce:
- Attempt to register an unknown entity
- Observe that the API returns a 200 response
Proposed solution:
- Return a 400 error code for unknown registration attempts to accurately reflect the error state.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working