question

AmaniBhamidipalli-3705 avatar image
0 Votes"
AmaniBhamidipalli-3705 asked PramodValavala-MSFT answered

how to read the json data from blob storage using HTTP trigger and access it by using azure function app to use that json file for normalization further

I am not able to access the file from blob to "fileReader.json" in the azure portal(error as 500 internal server error).could you help to overcome that issue109925-init.txt


azure-functions
init.txt (8.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@AmaniBhamidipalli-3705 Based on the code that you've shared, looks like you are opening a local file which will result in an error since the filesystem is read-only. Instead, you would want to open a temporary file as required.

PS: I'm unsure if it's just the file you've sent but most of your code is not inside the main method.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.