Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

[ Resolved ] Azure DevOps - Template parameter JToken type is not valid. Expected Integer, Actual String

Error Message

[error] Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'Integer'. Actual 'String'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.

Context


Release Pipelines in Azure DevOps

Causes of the issue


  • Pipeline variable value set in the release pipeline is a String, But the related arm-template is expecting an Integer
  • Pipeline variable place holder is set in the release step, but the variable key/ value entry is missing in the pipeline variable list for the specific stage

Resolution

Find the relevant pipeline key/ value entry,
  • add if it is missing
  • update the value to the correct data type
...


This post first appeared on Devdummy, please read the originial post: here

Share the post

[ Resolved ] Azure DevOps - Template parameter JToken type is not valid. Expected Integer, Actual String

×

Subscribe to Devdummy

Get updates delivered right to your inbox!

Thank you for your subscription

×