gpt4 book ai didi

azure - 新部署的 azure 函数返回 404 Not Found 错误

转载 作者:行者123 更新时间:2023-12-02 22:48:59 27 4
gpt4 key购买 nike

嘿,我已经使用 Azure dev ops CI/CD 部署了新的 azure 函数。函数应用程序已成功部署,当我转到主 URL 时,它表示您的函数应用程序正在运行。我尝试使用 azure 门户测试端点(“/save”),输出为 404 Not find。当我使用 POST man 时也得到相同的结果。任何帮助将不胜感激?

enter image description here

 2020-11-21T11:30:45.769 [Error] The following 2 functions are in error:
Get: The function type name 'DocumentContextFunction.Functions.GetDocument'
is invalid.
Save: The function type name
'DocumentContextFunction.Functions.SaveDocument' is invalid.

最佳答案

我已通过将“FUNCTIONS_EXTENSION_VERSION”的值从 1 更新为 3 来修复此问题。出于某种原因,每次我使用 Azure CI/CD 进行部署时,其值都设置为 1,因此我必须手动将其更改为3.

关于azure - 新部署的 azure 函数返回 404 Not Found 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64942139/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com