I'm deploying my Azure Function in Python v2 using the CLI with func azure functionapp publish [function_name]
, but I get an error saying Error calling sync triggers
.
Debug information
I would like to debug this, but I found no useful information. We have:
- The CLI. Just says
Error calling sync triggers (BadRequest)
, no details. - Activity log. There's an item in the Azure Portal -> Function App -> Activity log saying that Sync Web Apps Function Triggers failed. There's a JSON attached, but it only says
InternalServerError
. Here's the relevant portion of the JSON.
Can somehow access more information? I'm not only after the solution to my current specific problem, but a way for me to be able to debug future problems too. As this one might be caused by Function App misconfiguration, Python problems or even internal Azure problems. There are similar problems on SO already, e.g. one, two, three, each one with the same symptom but a different underlying problem.
App configuration
AzureWebJobsStorage
is properly set.- I've tried restarting the app, doesn't help.
- Here are the python
requirements.txt
, I'm thinking some new Python code caused this as the deploy used to work.