Skip to content

error 400 instead of 404 #38

@cdupont

Description

@cdupont
curl -X PUT "http://localhost:800/api/v2/devices/MyDevice/actuators/Act1/value" -H  "accept: application/json;charset=utf-8" -H  "Content-Type: application/json;charset=utf-8" -d "444"

gives:

400
Error from Keycloak: {"error":"invalid_resource","error_description":"Resource with id [device-MyDevice] does not exist."}

It should be 404.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions