ECS / Client / exceptions / ConflictException
ConflictException#
- class ECS.Client.exceptions.ConflictException#
The
RunTaskrequest could not be processed due to conflicts. The providedclientTokenis already in use with a differentRunTaskrequest. TheresourceIdsare the existing task ARNs which are already associated with theclientToken.To fix this issue:
Run
RunTaskwith a uniqueclientToken.Run
RunTaskwith theclientTokenand the original set of parameters
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
{ 'resourceIds': [ 'string', ], 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The
RunTaskrequest could not be processed due to conflicts. The providedclientTokenis already in use with a differentRunTaskrequest. TheresourceIdsare the existing task ARNs which are already associated with theclientToken.To fix this issue:
Run
RunTaskwith a uniqueclientToken.Run
RunTaskwith theclientTokenand the original set of parameters
resourceIds (list) –
The existing task ARNs which are already associated with the
clientToken.(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.