Azure / Azure/azure-quickstart-templates
InvalidJsonReferenceFormat - unexpected Reference ID for subnets
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[cisco-csr-1000v](https://github.com/Azure/azure-quickstart-templates/tree/master/cisco-csr-1000v)
### Issue Details
Deployment fails to target subnets.
Error:
{
"error": {
"code": "InvalidRequestFormat",
"message": "Cannot parse the request.",
"details": [
{
"code": "InvalidJsonReferenceFormat",
"message": "Reference Id /subscriptions/48db2aff-235a-4d2d-927c-8ddd511aefb3/resourceGroups/existing/providers/Microsoft.Network/virtualNetworks/Basic-Infrastructure/default is not formatted correctly. The Id is expected to reference resources of type virtualNetworks/subnets. Path properties.ipConfigurations[0].properties.subnet."
}
]
}
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the cisco-csr-1000v template linked in the issue and inspect the subnet reference used by properties.ipConfigurations[0].properties.subnet. Reproduce the deployment failure and verify that the request references the expected virtualNetworks/subnets resource rather than the shown virtualNetworks/default path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100