You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fuzzing core-data: 500 errors when invalid input in body for http://localhost:59880/api/v3/reading/device/name/fuzzstring/start/1/end/1?offset=1&limit=1
#4646
use compose-builder command make run no-secty ds-virtual to bring up EdgeX system
On postman: GEThttp://localhost:59880/api/v3/reading/device/name/fuzzstring/start/1/end/1?offset=1&limit=1
raw JSON "false" into the body
This postman call will produce http status code 500, and message of "json: cannot unmarshal bool into Go value of type map[string]interface {}", with this error message, it shouldn't be status code 500, but status code 400.
🔥 Exception or Error
http status code 500
{
"apiVersion": "v3",
"message": "json: cannot unmarshal bool into Go value of type map[string]interface {}",
"statusCode": 500
}
🌍 Your Environment
use compose-builder command make run no-secty ds-virtual to bring up EdgeX system
EdgeX Version [REQUIRED]:
3.1
Anything else relevant?
The text was updated successfully, but these errors were encountered:
🐞 Bug Report
Affected Services [REQUIRED]
core-data
Is this a regression?
no
Description and Minimal Reproduction [REQUIRED]
use compose-builder command
make run no-secty ds-virtual
to bring up EdgeX systemOn postman:
GET
http://localhost:59880/api/v3/reading/device/name/fuzzstring/start/1/end/1?offset=1&limit=1
raw JSON "false" into the body
This postman call will produce http status code 500, and message of "json: cannot unmarshal bool into Go value of type map[string]interface {}", with this error message, it shouldn't be status code 500, but status code 400.
🔥 Exception or Error
http status code 500
{
"apiVersion": "v3",
"message": "json: cannot unmarshal bool into Go value of type map[string]interface {}",
"statusCode": 500
}
🌍 Your Environment
use compose-builder command
make run no-secty ds-virtual
to bring up EdgeX systemEdgeX Version [REQUIRED]:
3.1
Anything else relevant?
The text was updated successfully, but these errors were encountered: