我正在尝试实施https://www.twilio.com/blog/serverless-phone-verification中的项目,以使用SMS TOTP验证电话号码。
当我创建新函数时,Twilio Functions给出的网址是https://isabelline-badger-5492.twil.io/sendTOTP
我已给VERIFY_SERVICE_SID env变量指向正确的值“ VAxxxxxxx”。
但是出现以下错误。请告知出什么问题。
Verify函数本身可以正常工作,但是当从Function触发时,它会引发以下错误。
{
"success": false,
"message": {
"status": 404,
"message": "The requested resource /Services/VAxxxxxxx/Verifications was not found",
"code": 20404,
"moreInfo": "https://www.twilio.com/docs/errors/20404"
}
}