Bicep error code - BCP290
This error occurs when you have a decorator that is expecting to be followed by a param
or type
declaration, but miss the declaration.
Error description
Expected a parameter or type declaration after the decorator.
Examples
The following example raises the error because there is no parameter or type declaration after the @secure()
decorator.
@secure()
You can fix the error by removing the decorator and adding a parameter of type declaration.
@secure()
param password string
For more information, see Decorators.
Next steps
For more information about Bicep error and warning codes, see Bicep core diagnostics.