aws-toolkit-azure-devops
aws-toolkit-azure-devops copied to clipboard
##[error]'charmap' codec can't encode characters in position 1098-1135: character maps to <undefined>
Describe the bug
To reproduce
- Create release pipeline from Azure DevOps
- Add task AWS Toolkit for Azure DevOps.
- Input the following inline code by Powershell.
$SsmListCommand = aws ssm list-command-invocations --instance-id $InstanceId --no-details | ConvertFrom-Json- You will get the error like the title.
Expected behavior
ConvertFrom-Json command should work properly. *On my local PC it worked without this issue.
Screenshots

Your Environment
- On-prem or cloud based?:
- Azure DevOps version:
- AWS Toolkit for Azure DevOps version:
Additional context
It seems the result of "aws ssm list-command-invocations --instance-id $InstanceId --no-details" contains garbled cahracter like this screenshot (yellow highlighted part)
.
If the result doesn't contain this kind of garbled character this error doesn't occur.
Can anyone take a look this issue?