Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1023 Bytes

File metadata and controls

43 lines (27 loc) · 1023 Bytes
title BCP009
description Expected a literal value, an array, an object, a parenthesized expression, or a function call at this location.
ms.topic reference
ms.custom devx-track-bicep
ms.date 10/30/2025

Bicep diagnostic code - BCP009

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.