SignInService / Client / exceptions / ServiceUnavailableException
ServiceUnavailableException¶
- class SignInService.Client.exceptions.ServiceUnavailableException¶
The request failed because a dependency is temporarily unavailable. You can retry the request.
Example
try: ... except client.exceptions.ServiceUnavailableException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'error': 'TOKEN_EXPIRED'|'USER_CREDENTIALS_CHANGED'|'INSUFFICIENT_PERMISSIONS'|'AUTHCODE_EXPIRED'|'server_error'|'INVALID_REQUEST'|'RESOURCE_NOT_FOUND'|'CONFLICT'|'SERVICE_QUOTA_EXCEEDED'|'unsupported_grant_type'|'invalid_request'|'invalid_grant'|'invalid_scope'|'invalid_target'|'rate_exceeded'|'service_unavailable', 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request failed because a dependency is temporarily unavailable. You can retry the request.
error (string) –
Will be service_unavailable.
message (string) –
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.