Actions
Bug #10002
open500 error thrown when calling a API with invalid device ID
Status:
New
Priority:
Low
Assignee:
-
Start date:
14/03/2023
Due date:
% Done:
0%
Estimated time:
Device Type:
Component:
Type:
Description
Environment details
510 server
Prerequisites
invalid device id
Description
When invoking “getInstalledApplication” [1.1] [1.2] with a invalid device ID it throws a 500 error. But with a invalid device ID it should give a 400 Bad Request response.
Also in the validateDeviceIdentifier [2.1] [2.2] it should check for invalid id.
Also it should check if the returned device object is null or not [3.1] [3.2].
There were few more APIs like this.
[1.2]
[2.2]
[3.2]
Files
Actions