Azure / Azure/Azure-Functions

Blob Trigger Error when Cors is activated On Azure Storage

Open
#1,392 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

We are running Azure functions on Isolated environment , SDK 1.0.29 and Microsoft.Azure.WebJobs.Extensions.Storage 3.0.10

We have blob trigger that errors out with the below message when CORS policy is activated on the storage account with All HTTP verbs in one line.

A host error has occurred
Microsoft.WindowsAzure.Storage: Requested value 'DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH' was not found. System.Private.CoreLib: Requested value 'DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH' was not found.

it does works when we split CORS into separate lines (One HTTP verb per line) but there is a limit of 5 , so we can't add out canary environment to CORS policy

this is same as - https://github.com/Azure/azure-functions-python-worker/issues/440

Any help will be appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.