api: return error when LicenseGet
status is not 200
#11644
Merged
LicenseGet
status is not 200
#11644