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

API create policy should return conflict status when policy exists #4351

Closed
nopcoder opened this issue Oct 11, 2022 · 0 comments · Fixed by #4350
Closed

API create policy should return conflict status when policy exists #4351

nopcoder opened this issue Oct 11, 2022 · 0 comments · Fixed by #4350
Assignees
Labels
area/API Improvements or additions to the API bug Something isn't working

Comments

@nopcoder
Copy link
Contributor

Current create policy API returns BadRequestStatus when policy already exists.
The expected behaviour is to return ConflictStatus code.

@nopcoder nopcoder added bug Something isn't working area/API Improvements or additions to the API labels Oct 11, 2022
@nopcoder nopcoder self-assigned this Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API Improvements or additions to the API bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant