SupportApp / Client / exceptions / ConflictException

ConflictException#

class SupportApp.Client.exceptions.ConflictException#

Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn’t belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn’t registered that workspace yet for the organization.

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',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Your request has a conflict. For example, you might receive this error if you try the following:

    • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

    • Add a Slack channel configuration that already exists in your Amazon Web Services account.

    • Delete a Slack channel configuration for a live chat channel.

    • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

    • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn’t belong to an organization.

    • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn’t registered that workspace yet for the organization.

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