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 you have duplicate decorators.
Duplicate <decorator-name> decorator.
Error
Remove the duplicate decorator.
The following example raises the diagnostic because there's two duplicate decorators.
@description('foo')
@description('bar')
param name string
You can fix the diagnostic by removing one of the duplicate decorators.
@description('bar')
param name string
For more information, see Decorators.
For more information about Bicep diagnostics, see Bicep core diagnostics.