VerifiedPermissions / Client / exceptions / ConflictException

ConflictException#

class VerifiedPermissions.Client.exceptions.ConflictException#

The request failed because another request to modify a resource occurred at the same.

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',
    'resources': [
        {
            'resourceId': 'string',
            'resourceType': 'IDENTITY_SOURCE'|'POLICY_STORE'|'POLICY'|'POLICY_TEMPLATE'|'SCHEMA'
        },
    ],
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request failed because another request to modify a resource occurred at the same.

    • message (string) –

    • resources (list) –

      The list of resources referenced with this failed request.

      • (dict) –

        Contains information about a resource conflict.

        • resourceId (string) –

          The unique identifier of the resource involved in a conflict.

        • resourceType (string) –

          The type of the resource involved in a 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.