This is an automated archive made by the Lemmit Bot.
The original was posted on /r/azure by /u/Capable_Coffee_7442 on 2023-09-17 18:03:25.
Hi,
Apologies in advance if this isn’t the right place to post this. Basically I’m doing the cloud resume challenge and am having an issue with the HTTP trigger function.
Here’s what I’m trying to do:
Chunk 2: Building the API We’re going to break up the “visitor counter” piece of the project - which requires creating a cloud-based API that communicates with our website - over this chunk and next. By the end of this section, we’ll have a working Azure serverless API that updates the visitor count in a database. We’ll also store our Python code in a GitHub repository, so we can track changes to it over time.
So I’ve set up a serverless noSQL Cosmos DB, with a container (ID: Items, Database: ToDoList). I’ve also set up a functions app with the appropriate bindings for both inputs and outputs that point to the ID and database of the CosmosDB account. But still returns a 500 internal server error.
Any advice on how best to troubleshoot this would be greatly appreciated thanks!