Questions tagged [azure-http-trigger]

121 questions
0
votes
1 answer

Required Sender ID not supplied in config or env variable - 500 Internal Server Error (Azure Function - Http Trigger)

I have Azure Function (Http Trigger) working in Visual Studio and showing an output in localhost. Now, I am trying to test in the Azure Function portal. But, there is no output. I am getting "500 Internal Server Error". I was able to find this…
Java
  • 1,208
  • 3
  • 15
  • 29
0
votes
1 answer

Newtonsoft.Json: Self referencing loop detected for property for azure function

I get this error : Newtonsoft.Json: Self referencing loop detected for property when I run my azure function but i have already added a startupFile with the this code public override void Configure(IFunctionsHostBuilder builder) { …
johnson dubula
  • 31
  • 1
  • 1
  • 7
0
votes
1 answer

Durable Entities - Counter Example

Total Azure Functions newbie here, but I feel like I have spent days researching this on my own and I'm just missing something. I am working on creating a simple counter entity that can be used for generating order tracking numbers: Entry…
0
votes
1 answer

Error "The URI 'XY' is not valid because it is not based on 'XY'" in LogicApp call from JS

I never had an eror like this so I am hoping someboday has a hint regarding this. I call an HTTP triggered Azure Logic App with javascript by using the XrmQuery.SendRequest() method like this: XrmQuery.sendRequest("POST", url,…
0
votes
1 answer

Injecting DBcontext file Azure Function (Http trigger)

I am trying to connect my azure function to a local DB using Entity frameworkcore code 1st but I keep on getting this error when I try to add migrations, Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions at…
0
votes
1 answer

azure HTTP webhook runs forever

I am calling an azure function from an Logic app using azure HTTP Webhook. this is the parameters used for the call : the azure function is lunched and finished working properly and it returns the results with 201 as code status. this is the…
0
votes
1 answer

How do I create an Azure API that connects to my Blob Storage?

So I have created a function app and now I am trying to create an API that connects to my Blob Storage and "Posts" the content within the container import azure.functions as func def main(req: func.HttpRequest) -> func.HttpResponse: …
0
votes
1 answer

Image not Loading in HTML file generated by azure function

I am trying to embed an image inside HTML which is generated by an azure function. when I run it in localhost I am able to see the image, but when I convert that to an azure function it throws a broken thumbnail image.iam using matplotlib to save…
0
votes
1 answer

Azure function is not writing the image file

I am new to the azure function app. I am developing an app to generate wordcloud and for that purpose, I am fetching my data from the Cosmos DB. Everything is working fine locally using VS Code. When I am deploying my azure function on an azure…
Sneha Roy
  • 81
  • 1
  • 3
  • 16
0
votes
1 answer

Add Telemetry logs in application insights of httptrigger function in .net core 3.1

I have created http trigger function in .net core 3.1 but i am not able to add telemetry for logging in application insights. I am using startup class and adding package Microsoft.Azure.Functions.Extensions in csproj. But I am getting this error An…
0
votes
1 answer

Add telemetry in http trigger function in .net core 3.1

I have added the telemetry in Http trigger function by adding package Microsoft.ApplicationInsights" Version="2.17.0" to view the logs in application insight. private readonly TelemetryClient _telemetry; public…
0
votes
0 answers

Azure Function triggering http Azure Function

I have currently written this piece of code for one of my functions: FUNCTION_URL = "https://functionapp.azurewebsites.net/api/functionname?code={function_key_secret}" FUNCTION_URL_PAYLOAD = "&name={name}&number={number}" def trigger_function(name,…
Marco
  • 525
  • 4
  • 17
0
votes
2 answers

count Jarray in C#

I need to count data from reqst body in httptrigger function.Data is coming as object type. I am deserialisizing the reqd body as shown below.Below are the object type data i am getting in req.body. { "Response": [ { "id": "1", …
shashank shekhar
  • 132
  • 2
  • 15
0
votes
1 answer

Ajax call to Azure function returns no data

It is my first time using Azure Functions. I am trying to access a 3rd party API with an auth token passed in the header. I have had some success getting data back when I run the Azure function alone locally in that it logs the correct data to my…
0
votes
1 answer

Content-Disposition header Azure HTTP trigger function

Basically iam trying to get an excel as a response from an HTTP triggered azure function response = func.HttpResponse(data, mimetype='application/vnd.ms-excel') response['Content-Disposition'] = 'attachment; filename="test.xlsx"' return…
1 2 3
8 9