Bryan
08/27/2024, 9:18 PMFlow run could not be submitted to infrastructure: An error occurred (InvalidParameterException) when calling the RunTask operation: Some tags contain invalid characters. Valid characters: UTF-8 letters, spaces, numbers and _ . / = + - : @.
Marvin
08/27/2024, 9:19 PMECS Worker
when running the RunTask
operation, particularly due to the invalid characters in your tags.
### Resolution:
1. Check and Correct Tags:
Ensure that your tags in the deployment configuration contain only valid characters. According to the AWS error message, valid tag characters are UTF-8 letters, spaces, numbers, _ . / = + - : @
.
2. Review and Update Deployment Configs:
Carefully review your deployment scripts and configurations to identify and correct any tags that do not meet the specified criteria.
### Reference GitHub Issue:
A similar issue was reported on GitHub:
Issue #13174: ECS Worker
flow run crashes on RunTask
due to invalid characters in tags
GitHub Issue #13174
### Documentation Reference:
The Prefect documentation on deployments and task run settings may also provide further context:
Prefect Deployments
Prefect Infrastructure
By ensuring the tags are compliant with these guidelines, you should be able to resolve the error. If the problem persists, consider reviewing the Prefect and AWS ECS documentation or opening an issue on GitHub for further assistance.