简体   繁体   English

Azure function - 函数开始给出错误的值不能是 null。 参数名称:提供者

[英]Azure function - func start giving error of Value cannot be null. Parameter name: provider

You are using an outdated version of the Azure Functions Core Tools. For more information, 
please see: https://aka.ms/func-v2-upgrade
Found Python version 3.6.9 (python3).

Azure Functions Core Tools
Core Tools Version:       2.7.3188 Commit hash: f5984038c7377e9437f71191bff1d5818dd1fa8d
Function Runtime Version: 2.0.14786.0

AZURE_FUNCTIONS_ENVIRONMENT: Development
Value cannot be null.
Parameter name: provider

When I run func start gives me the above error of value and parameter.当我运行 func start 时,会出现上述值和参数错误。 Appreciate the Help.感谢帮助。

I reproduce the issue in my side and just remove a part of code in host.json , it works.我在我身边重现了这个问题,只是删除了host.json中的一部分代码,它可以工作。

Remove this part of code:删除这部分代码:

在此处输入图像描述

And when the function can start success, then I restore the part of code in host.json and then it can also start success.而当function可以启动成功后,我将host.json中的部分代码还原,也可以启动成功。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 本地调试 azure function 失败并出现错误 - 值不能是 null。 (参数“提供者”) - local debug azure function fail with error - Value cannot be null. (Parameter 'provider') Azure 886982359588 应用程序:Microsoft.Azure.WebJobs.EventHubs:值不能为 null。(参数“receiverConnectionString”) - Azure Function app : Microsoft.Azure.WebJobs.EventHubs: Value cannot be null. (Parameter 'receiverConnectionString') 正在获取HTTP POST错误:{“原因”:null,“错误”:“用于插入的请求JSON对象不能为空。”} - Getting HTTP POST Error : {“reason”:null,“error”:“Request JSON object for insert cannot be null.”} Python为Postgres函数执行提供``psycopg2.DataError:无法执行空查询字符串''错误 - Python giving 'psycopg2.DataError: cannot EXECUTE a null querystring' error for Postgres function exeuction Python-提供名称错误的简单列表函数 - Python - simple list function giving name error python multiprocessing - 在使用 Process.start(target=func) 调用的函数中访问进程名称 - python multiprocessing - access the process name inside the function called with Process.start(target=func) DRF:无法创建 object null。 错误:“network_from_id”列中的值违反非空约束 - DRF: Can't create object null. Error: value in column "network_from_id" violates not-null constraint 使用参数替换提供列名时出现 MySQL 语法错误 - MySQL syntax error when giving column name with parameter substitution Owner_id不能为null。 DRF关系数据库 - Owner_id cannot be null. DRF relational database python中的to_timestamp()函数返回空值 - to_timestamp() function in python giving null value in return
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM