Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when a declaration is not completed.
Description
Expected a literal value, an array, an object, a parenthesized expression, or a function call at this ___location.
Level
Error
Solution
Include the missing part. For more information, see Bicep file.
Examples
The following example raises the diagnostic because the metadata
declaration isn't completed:
metadata description =
You can fix the diagnostic by using completing the declaration.
metadata description = 'Creates a storage account and a web app'
For more information, see Metadata.
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.