Bicep error code - BCP266
This error occurs when the metadata
declaration missing the identifier.
Error description
Expected a metadata identifier at this location.
Solution
Add the metadata identifier, and complete the declaration.
Examples
The following example raises the error because type declaration metadata
misses the identifier.
metadata
You can fix the error by completing the metadata
declaration.
metadata description = 'Creates a storage account and a web app'
For more information, see Metadata.
Next steps
For more information about Bicep error and warning codes, see Bicep core diagnostics.