Describe the issue
There is a bug in the error-handling logic of the TriggerPipeline extension. It's currently failing to parse the error response when validation errors occur. This results in unhelpful error messages.
Extension
Extension: TriggerPipeline
Version: 2.0.6
To Reproduce
Simulate an Invoke-RestMethod failure, it will fail with the Cannot bind argument to parameter 'Message' because it is null.
Expected behavior
When there's an error you get useful error messages.
Log info
`
[error]Cannot bind argument to parameter 'Message' because it is null.
Describe the issue There is a bug in the error-handling logic of the TriggerPipeline extension. It's currently failing to parse the error response when validation errors occur. This results in unhelpful error messages.
Extension
To Reproduce Simulate an Invoke-RestMethod failure, it will fail with the Cannot bind argument to parameter 'Message' because it is null.
Expected behavior When there's an error you get useful error messages.
Log info `
[error]Cannot bind argument to parameter 'Message' because it is null.
`