IdentityStore / Client / exceptions / ConflictException

ConflictException#

class IdentityStore.Client.exceptions.ConflictException#

This request cannot be completed for one of the following reasons:

  • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

  • The requested resource was being concurrently modified by another request.

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

{
    'Message': 'string',
    'RequestId': 'string',
    'Reason': 'UNIQUENESS_CONSTRAINT_VIOLATION'|'CONCURRENT_MODIFICATION',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    This request cannot be completed for one of the following reasons:

    • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

    • The requested resource was being concurrently modified by another request.

    • Message (string) –

    • RequestId (string) –

      The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.

    • Reason (string) –

      This request cannot be completed for one of the following reasons:

      • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

      • The requested resource was being concurrently modified by another request.

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