SignInService / Client / exceptions / ConflictException

ConflictException

class SignInService.Client.exceptions.ConflictException

Error thrown when request conflicts with current state

HTTP Status Code: 409 Conflict

Used when the request conflicts with the current state of the resource

Example

try:
  ...
except client.exceptions.ConflictException as e:
  print(e.response)
response

The parsed error response. All exceptions have a top level Error key 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',
    'message': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Error thrown when request conflicts with current state

    HTTP Status Code: 409 Conflict

    Used when the request conflicts with the current state of the resource

    • error (string) –

      OAuth 2.0 error code indicating conflict Will be CONFLICT

    • message (string) –

      Detailed message explaining the conflict Provides specific information about what caused the conflict

    • 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.