You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/bicep-core-diagnostics.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.date: 05/20/2025
11
11
If you need more information about a particular diagnostic code, select the **Feedback** button in the upper-right corner of the page and specify the code.
12
12
13
13
| Code | Level | Description |
14
-
|------------|-------|-_-----------|
14
+
|------------|-------|-------------|
15
15
| <aid='BCP001' />BCP001 | Error | The following token isn't recognized: "{token}". |
16
16
| <aid='BCP002' />BCP002 | Error | The multi-line comment at this location isn't terminated. Terminate it with the */ character sequence. |
17
17
| <aid='BCP003' />BCP003 | Error | The string at this location isn't terminated. Terminate the string with a single quote character. |
@@ -384,18 +384,19 @@ If you need more information about a particular diagnostic code, select the **Fe
384
384
| <aid='BCP405' />BCP405 | Error | More than one "{LanguageConstants.ExtendsKeyword}" declaration are present. |
| <aid='BCP407' />BCP407 | Error | Built-in extension "microsoftGraph" is retired. Use dynamic types instead. See https://aka.ms/graphBicepDynamicTypes|
387
-
| <aid='BCP408' />BCP408 | Error | The `nameof` function can only be used with an expression which has a name. |
387
+
| <aid='BCP408' />BCP408 | Error | The "{LanguageConstants.NameofFunctionName}" function can only be used with an expression which has a name. |
388
388
| <aid='BCP409' />BCP409 | Error | The `resource<>` parameterized type has been deprecated. Please specify whether you want this type to correspond to the resource input or output. |
389
389
| <aid='BCP410' />BCP410 | Error | Division by zero is not supported. |
390
390
| <aid='BCP411' />BCP411 | Error | The type `{type}` cannot be used in a type assignment because it does not fit within one of ARM's primitive type categories (string, int, bool, array, object). |
391
-
| <aid='BCP412' />BCP412 | Error | The variable type is not valid. Please specify one of the following types: `{validTypes}`. |
391
+
| <aid='BCP412' />BCP412 | Error | The variable type is not valid. Please specify one of the following types: {ToQuotedString(validTypes)}. |
392
392
| <aid='BCP414' />BCP414 | Error | The `^` indexing operator cannot be used on base expressions of type `{baseType}`. |
393
393
| <aid='BCP415' />BCP415 | Error | The `^` indexing operator cannot be used with index expressions of type `{indexType}`. |
394
394
| <aid='BCP416' />BCP416 | Error | The supplied string does not match the expected pattern of `/{expectedPattern}/`. |
395
395
| <aid='BCP417' />BCP417 | Error | The spread operator `{ellipsis}` cannot be used inside objects with property for-expressions. |
396
396
| <aid='BCP418' />BCP418 | Error | Extensions cannot be referenced here. Extensions can only be referenced by module extension configurations. |
397
397
| <aid='BCP419' />BCP419 | Error | Namespace name `{name}` cannot be used as an extension name.|
398
398
399
+
399
400
## Next steps
400
401
401
402
See the [What is Bicep?](./overview.md) overview to learn more about Bicep.
0 commit comments