MicrosoftLearning / dp-420-cosmos-db-dev

DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
https://microsoftlearning.github.io/dp-420-cosmos-db-dev/
MIT License
81 stars 95 forks source link

Lab 17 Issue #25

Closed ejneuman closed 9 months ago

ejneuman commented 2 years ago

If you try and run Lab 17 - Denormalize right after Lab 16, you will run into the following error when executing the "dotnet run" command:

Unhandled exception. Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: Conflict (409); Substatus: 0; ActivityId: 38f1b7a1-3487-4549-b1a6-1356c2b051d4; Reason: ( Errors : [ "Resource with specified id or name already exists." ]

To fix this, you need to first manually delete the CosmosDB database created in Lab 16, so you can recreate it here.

Suggested fix would be to create a difference resource in Lab 17 than "cosmicworks-q46mjbiavkfgg". Each lab should have uniquely named resources.

MScalopez commented 2 years ago

Reviewing issues

MScalopez commented 9 months ago

These labs are meant to be run individually,