Errors when running blob trigger python application

Adrian 181 Reputation points

I am try to 'run and debug' my function app written in Python being triggered by a blob being uploaded.

The whole application works fine, the problem is I have to click 'continue' about 6 times as there are a lot of weird errors showing up, not sure why or where they are coming from, don't think it's much to do with the script I have written.


This is an example of one of them, if I click continue, this appears: Exception has occurred: KeyError

and so on for a couple of errors, once we get past them, the function executes the code and does what it is supposed to do.

Is there a way to either get rid of them, or make the function ignore them and still execute the code?


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,213 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,415 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,833 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 33,141 Reputation points Microsoft Employee

    You probably need to add an except. See this thread and this thread for some possible ways to handle this in python. More helpful information on KeyErrors here.

    Hope this helps. Let us know if you have further questions or issues.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful