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 a function has two or more possible signatures, but the input provided doesn't match any of them.
Can't resolve function overload.
Error
Ensure that the argument passed to the function matches one of the expected types defined in its overload signatures.
The following example raises the diagnostic because the length()
function requires its argument to be a string, an object, or an array.
output stringLength int = length(3)
You can fix the issue by providing an argument that matches the required argument type:
output stringLength int = length('three')
For more information about Bicep diagnostics, see Bicep core diagnostics.