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

Should return 404 when deleting event with not exist id #4936

Closed
cherrycl opened this issue Oct 4, 2024 · 0 comments · Fixed by #4961
Closed

Should return 404 when deleting event with not exist id #4936

cherrycl opened this issue Oct 4, 2024 · 0 comments · Fixed by #4961
Assignees
Labels
bug Something isn't working

Comments

@cherrycl
Copy link
Contributor

cherrycl commented Oct 4, 2024

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: core-data

Is this a regression?

No

Description and Minimal Reproduction [REQUIRED]

  1. Deploy service by command make run no-secty keeper mqtt-bus postgres ds-virtual arm64 under compose-builder
  2. Send request to delete a not exist event id http://localhost:59880/api/v3/event/id/e20e276b-ed2f-416b-86fd-af0aa0f839dd

🔥 Exception or Error

Excepted to return status code 404


{
    "apiVersion": "v3",
    "message": "failed delete event",
    "statusCode": 400
}

🌍 Your Environment

Deployment Environment: Ubuntu 2204/arm64

EdgeX Version [REQUIRED]: Main

Anything else relevant?

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