When I'm trying to add a new collection to database I'm getting this error :
Failed to create collection 'Products'.
Error:
Sorry, we are currently experiencing high demand in this region, and cannot
fulfill your request at this time. We work continuously to bring more and
more capacity online, and encourage you to try again. Please do not hesitate
to email [email protected] at any time or for any reason.
ActivityId: bad1a40a-0000-0000-0000-000000000000,
Microsoft.Azure.Documents.Common/1.22.0.0
It's a local emulator, what kind of high demmand in this region ?
According to the official documentation.
By default, you can create up to 25 single partition collections, or 1 partitioned collection using the Azure Cosmos DB Emulator. By modifying the PartitionCount value, you can create up to 250 single partition collections or 10 partitioned collections, or any combination of the two that does not exceed 250 single partitions (where one partitioned collection = 25 single partition collection).
So basically, if you want to create more partitioned collections or more single-partition collections, just increase the PartitionCount
when starting from the command-line:
CosmosDB.Emulator.exe /PartitionCount=100
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With