PartnerCentralAccountAPI / Client / exceptions / ConflictException
ConflictException¶
- class PartnerCentralAccountAPI.Client.exceptions.ConflictException¶
The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
Example
try: ... except client.exceptions.ConflictException 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
{ 'Message': 'string', 'Reason': 'CONFLICT_CLIENT_TOKEN'|'DUPLICATE_PARTNER'|'INCOMPATIBLE_PROFILE_STATE'|'INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE'|'DUPLICATE_CONNECTION_INVITATION'|'INCOMPATIBLE_CONNECTION_INVITATION_STATE'|'INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER'|'DUPLICATE_CONNECTION'|'INCOMPATIBLE_CONNECTION_STATE'|'INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION'|'ACCOUNT_ALREADY_VERIFIED'|'VERIFICATION_ALREADY_IN_PROGRESS', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
Message (string) –
Reason (string) –
The specific reason for 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.