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

When creating device and the assigned device profie doesn't exist, the error code should be 400 instead of 404 #5018

Closed
cloudxxx8 opened this issue Dec 6, 2024 · 0 comments · Fixed by #5021
Assignees
Labels
bug Something isn't working

Comments

@cloudxxx8
Copy link
Member

cloudxxx8 commented Dec 6, 2024

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: core-metadata

Is this a regression?

Yes, the previous version in which this bug was not present was: no

Description and Minimal Reproduction [REQUIRED]

Create a Device with non-existed Device Profile name, and the error code is 404 currently
It should be 400

@cloudxxx8 cloudxxx8 added the bug Something isn't working label Dec 6, 2024
@github-project-automation github-project-automation bot moved this to New Issues in Technical WG Dec 6, 2024
@cloudxxx8 cloudxxx8 changed the title When creating device and the assigned device service doesn't exist, the error code should be 400 instead of 404 When creating device and the assigned device profie doesn't exist, the error code should be 400 instead of 404 Dec 9, 2024
@jumpingliu jumpingliu moved this from New Issues to Release Backlog in Technical WG Dec 10, 2024
@github-project-automation github-project-automation bot moved this from Release Backlog to Odessa Done in Technical WG Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Odessa Done
Development

Successfully merging a pull request may close this issue.

2 participants