When we try to login, the if there is an error in case of no machine found or incorrect credentials, then on printing the error then we are getting null value for the error code. Eg.: If we try to login using wrong credentials and try to log error object, then this object is printed:
[{
errorCode: null,
message: Invalid request
}]
Please find the response object for this error:
ResponseWrapper(id=null, version=null, responsetime=2023-05-19T07:37:13.559Z, metadata=null, response=null, errors=[errorCode : null message : Invalid Request])