Error while creating collection in cosmos db

Megha Garg 1 Reputation point
2020-08-18T09:21:26.367+00:00

Hello everyone,

While creating new collection I am getting below error, Does someone have idea on it? All the suggestions are welcome.

2020-08-18 04:55:50.645 DEBUG 10092 --- [ restartedMain] c.a.d.c.internal.RxDocumentClientImpl : Creating a Collection. databaseLink: [dbs/BQAfAA==/colls/], Collection id: [invoiceEventEntity]
2020-08-18 04:55:50.652 DEBUG 10092 --- [ restartedMain] c.a.d.c.internal.RxDocumentClientImpl : Failure in creating a collection. due to [The value /dbs/BQAfAA==/colls/colls/ specified for query $resolveFor is invalid.]

java.lang.IllegalArgumentException: The value /dbs/BQAfAA==/colls/colls/ specified for query $resolveFor is invalid.
at com.azure.data.cosmos.internal.RxDocumentServiceRequest.<init>(RxDocumentServiceRequest.java:164) ~[azure-cosmos-3.2.0.jar:na]
at com.azure.data.cosmos.internal.RxDocumentServiceRequest.<init>(RxDocumentServiceRequest.java:201) ~[azure-cosmos-3.2.0.jar:na]
at com.azure.data.cosmos.internal.RxDocumentServiceRequest.<init>(RxDocumentServiceRequest.java:242) ~[azure-cosmos-3.2.0.jar:na]

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,632 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.