Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 894 Bytes

File metadata and controls

43 lines (27 loc) · 894 Bytes
title BCP266
description Expected a metadata identifier at this location.
ms.topic reference
ms.custom devx-track-bicep
ms.date 10/30/2025

Bicep diagnostic code - BCP266

This diagnostic occurs when the metadata declaration missing the identifier.

Description

Expected a metadata identifier at this location.

Level

Error

Solution

Add the metadata identifier, and complete the declaration.

Examples

The following example raises the diagnostic because type declaration metadata misses the identifier.

metadata

You can fix the diagnostic 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 diagnostics, see Bicep core diagnostics.