Azure / Azure/Azure-DataFactory
PrePostDeploymentScript fails to convert json on pipeline parameter of bool type
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
**##[error] Conversion from JSON failed with error: Unexpected character encountered while parsing value: T. Path 'properties.pipelines[1].parameters.sandbox', line 23, position 21. from Line: 680**
```
2023-01-18T11:22:52.0718692Z ##[section]Starting: Start ADF Triggers
2023-01-18T11:22:52.0877208Z ==============================================================================
2023-01-18T11:22:52.0877857Z Task : Azure PowerShell
2023-01-18T11:22:52.0878021Z Description : Run a PowerShell script within an Azure environment
2023-01-18T11:22:52.0878430Z Version : 5.209.0
2023-01-18T11:22:52.0878579Z Author : Microsoft Corporation
2023-01-18T11:22:52.0878779Z Help : https://aka.ms/azurepowershelltroubleshooting
2023-01-18T11:22:52.0879011Z ==============================================================================
2023-01-18T11:22:53.2938749Z Generating script.
2023-01-18T11:22:54.1401544Z ========================== Starting Command Output ===========================
2023-01-18T11:22:58.0022250Z ##[warning] Arm-template parameter file path not specified, the script will look for the file in arm-template file path.
2023-01-18T11:22:58.0064857Z Getting triggers
2023-01-18T11:22:58.9703782Z Getting pipelines
2023-01-18T11:23:01.6249277Z Getting datasets
2023-01-18T11:23:02.5713028Z Getting linked services
2023-01-18T11:23:03.2006931Z Getting integration runtimes
2023-01-18T11:23:03.7682079Z Deleting triggers
2023-01-18T11:23:03.7698004Z Deleting pipelines
2023-01-18T11:23:03.7706933Z Deleting dataflows
2023-01-18T11:23:03.7713985Z Deleting datasets
2023-01-18T11:23:03.7722607Z Deleting linked services
2023-01-18T11:23:03.7730626Z Deleting integration runtimes
2023-01-18T11:23:03.8446126Z ##[error] Conversion from JSON failed with error: Unexpected character encountered while parsing value: T. Path 'properties.pipelines[1].parameters.sandbox', line 23, position 21. from Line: 680
2023-01-18T11:23:04.0714254Z ##[error]Conversion from JSON failed with error: Unexpected character encountered while parsing value: T. Path 'properties.pipelines[1].parameters.sandbox', line 23, position 21.
2023-01-18T11:23:04.2782377Z ##[error]PowerShell exited with code '1'.
```
`"sandbox": true` this is the defined property i think this is failing on, like other bools in the factory use.
Contributor guide
Assessment
This issue has not been assessed yet.