Azure / Azure/azure-quickstart-templates
Unable to process template language expressions for resource (Logic App API Connection to Blob Storage)
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[arm-template-retrieve-azure-storage-access-keys](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/arm-template-retrieve-azure-storage-access-keys)
### Issue Details
Bad request details when running the deployment:
```
{
"status": "Failed",
"error": {
"code": "InvalidTemplate",
"message": "Unable to process template language expressions for resource '/subscriptions/1ebbf115-096c-420f-9cde-42cefb07c19f/resourceGroups/demo-logicapp-api-connection-rg/providers/Microsoft.Web/connections/storageconnectionra3e7hsjtbe52' at line '90' and column '9'. 'The template language function 'uri' expects its first argument to be a uri string. The provided value is ''. Please see https://aka.ms/arm-template-expressions/#uri for usage details.'",
"additionalInfo": [
{
"type": "TemplateViolation",
"info": {
"lineNumber": 90,
"linePosition": 9,
"path": ""
}
}
]
}
}
```
### Repro steps (*if necessary, delete otherwise*)
1. Click the blue deploy to Azure button
2. Fill in details. I chose Canada Central for the region and used the filled in values for everything else
3. Error happens when ARM template is trying to create the API Connection
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the deployment template in demos/arm-template-retrieve-azure-storage-access-keys and inspect the API Connection resource at line 90. Reproduce the deployment using the listed Canada Central inputs and trace the empty value passed to the uri expression. Done means the Logic App API Connection deploys without the InvalidTemplate error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100