-
Notifications
You must be signed in to change notification settings - Fork 181
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
Add mismatch error message when method not allowed #4964
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review:
Solve the commented problems.
Changelog is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: ✔️
Test: ✔️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Description
This PR adds a message when the API returns a Method Not Allowed to let the user know that the error may be related to a version mismatch between the App and the Server.
Issues Resolved
#4915
Evidence
Test
Scenario: have an environment with Wazuh server <=4.3 and Wazuh App >=4.4
When the user navigates to Wazuh and the healthcheck is done
Then an error should appear in the first check, and a message telling that may be related to a version mismatch should appear at the bottom.
Check List
yarn test:jest