Nurdin
Nurdin

Reputation: 23883

Missing value for AzureWebJobsStorage in local.settings.json

I got this error message when trying to run locally. Before this no issue at all.

Missing value for AzureWebJobsStorage in local.settings.json. This is required for all triggers other than httptrigger, kafkatrigger. You can run 'func azure functionapp fetch-app-settings <functionAppName>' or specify a connection string in local.settings.json.

My local.settings.json

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "python"
  }
}

Upvotes: 0

Views: 10029

Answers (1)

suziki
suziki

Reputation: 14088

You don't give the value of AzureWebJobsStorage.

local default value: UseDevelopmentStorage=true

The reason why you need to offer is because other than httptrigger, all other triggers needs to start storage emulator first.

Upvotes: 5

Related Questions