0
votes

I'm encountering a problem where, the Azure Cosmos DB is giving Status Code: 403 Storage quota for 'Document' exceeded message for documents which are less than, 2 MB in size. I know, there is a limit on the document size but, in this case I tried with 5 KB document and it gave the same message. I'm using documentdb for storing JSON data.

1

1 Answers

0
votes

According to https://docs.microsoft.com/en-us/rest/api/documentdb/http-status-codes-for-documentdb

403 is also returned during a POST to create a resource when the resource quota has been reached. An example of this is when trying to add documents to a collection that has reached its provisioned storage.

I have encountered this when I have tried to push more data into a partition when its size has already reached 10 GB.