aristanetworks/cvprac

Add handling of permission denied error code

mharista opened this issue · 0 comments

response.text

{"errorCode":"29402","errorMessage":"Failed to authorize user: rpc error: code = PermissionDenied desc = not authorized"}

response.json()


{'errorCode': '29402', 'errorMessage': 'Failed to authorize user: rpc error: code = PermissionDenied desc = not authorized'}

Request example:


GET: https:///web/provisioning/getContainerInfoById.do?containerId= : Request Error: Failed to authorize user: rpc error: code = PermissionDenied desc = not authorized