Could be the function code hasnt been deployed
After deploying the infrastructure, you need to publish your function code separately using tools like Azure Functions Core Tools, Visual Studio Code, or Azure CLI
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola