azure-functions-core-tools: Value cannot be null. (Parameter 'provider') -> Impossible debug function locally
Description
Is impossible to debug an HTTP azure function locally. The application response error is: Value cannot be null. (Parameter ‘provider’)
Runtime and development environment
- Python 3.9
- Mac OS
- Core Tools Version: 4.0.4785 Commit hash: N/A (64-bit)
- Function Runtime Version: 4.10.4.19213
How to reproduce:
- Create an HTTP azure function with stack python 3.9
- Run function locally with
func host startor F5 - See the error
Found Python version 3.7.9 (python3).
Azure Functions Core Tools
Core Tools Version: 4.0.4785 Commit hash: N/A (64-bit)
Function Runtime Version: 4.10.4.19213
Value cannot be null. (Parameter 'provider')
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 4
- Comments: 15 (1 by maintainers)
This is ridiculous.
This is still an issue. WinOS, VSCode, Python 3.11.
Core Tools 4.0.6610 Function Runtime 4.1036.23224
working for me. { “version”: “2.0”, “extensionBundle”: { “id”: “Microsoft.Azure.Functions.ExtensionBundle”, “version”: “[3.*, 3.9.0)” } }
Modify the
host.jsonfile with"version": "[3.*, 3.9.0)"For people migrating to .NET 8 having this error
in my case local.settings.json with this:
helped. I am not saying it works for everyone, but in my case it was that.
did you find the answer ?
I’m also having this problem but with Core Tools v4.0.5530, Function Runtime v4.28.5.21962 and running a dotnet-isolated (C#) function. My colleagues with the same versions are not having this problem, and it seemed to suddenly begin occurring.
@omonimous did you get anywhere with this?