add collection fails in azure cosmos db mongodb

Mattias Lemmens 191 Reputation points
2020-11-21T01:15:51.46+00:00

I was able to make one collection , ever since then I was unable to add any more. I did update to the 3.6 version yesterday but received no errors from it.
And also attempted to add a workspace, which also failed. (see highlights in screenshot) Any suggestions would be most appreciated. Also is there a restart option somewhere, maybe I might be successful fixing it that way,

41595-screenshot-2020-11-21-091245.png

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,434 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mattias Lemmens 191 Reputation points
    2020-11-21T01:27:15.767+00:00

    turns out the workspace creation failed and was holding up all my previous attempts to create a collection.
    not sure what the error means, any ideas?

    error
    Failed to create a default notebook workspace: {"code":"Conflict","message":"CreateTableEntityFailed Microsoft.Azure.Cosmos.Management.DataModel.ComputeV2.NotebookWorkspaceEntity teamsreporting default Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (409) Conflict. ---> System.Net.WebException: The remote server returned an error: (409) Conflict.\r\n   at Microsoft.WindowsAzure.Storage.Table.Protocol.TableOperationHttpResponseParsers.TableOperationPreProcess(TableResult result, TableOperation operation, HttpWebResponse resp, Exception ex) in c:\\Program Files (x86)\\Jenkins\\workspace\\release_dotnet_master\\Lib\\ClassLibraryCommon\\Table\\Protocol\\TableOperationHttpResponseParsers.cs:line 61\r\n   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult) in c:\\Program Files (x86)\\Jenkins\\workspace\\release_dotnet_master\\Lib\\ClassLibraryCommon\\Core\\Executor\\Executor.cs:line 299\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync[T](IAsyncResult result) in c:\\Program Files (x86)\\Jenkins\\workspace\\release_dotnet_master\\Lib\\ClassLibraryCommon\\Core\\Executor\\Executor.cs:line 50\r\n   at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass1`1.<CreateCallback>b__0(IAsyncResult ar) in c:\\Program Files (x86)\\Jenkins\\workspace\\release_dotnet_master\\Lib\\ClassLibraryCommon\\Core\\Util\\AsyncExtensions.cs:line 66\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.Common.Store.StorageClientV4TableProvider.<>c__DisplayClass6_0`1.<<CreateEntityAsync>b__0>d.MoveNext() in d:\\dbs\\sh\\csdb\\1118_110500_0\\cmd\\u\\Product\\Microsoft.Azure.Documents\\Common\\Store\\StorageClientV4\\StorageClientV4TableProvider.cs:line 134\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__5.MoveNext() in d:\\dbs\\sh\\csdb\\1118_110500_0\\cmd\\u\\Product\\Microsoft.Azure.Documents\\SharedFiles\\BackoffRetryUtility.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException) in d:\\dbs\\sh\\csdb\\1118_110500_0\\cmd\\u\\Product\\Microsoft.Azure.Documents\\SharedFiles\\IRetryPolicy.cs:line 40\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__5.MoveNext() in d:\\dbs\\sh\\csdb\\1118_110500_0\\cmd\\u\\Product\\Microsoft.Azure.Documents\\SharedFiles\\BackoffRetryUtility.cs:line 141\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.Common.Store.StorageClientV4TableProvider.<CreateEntityAsync>d__6`1.MoveNext() in d:\\dbs\\sh\\csdb\\1118_110500_0\\cmd\\u\\Product\\Microsoft.Azure.Documents\\Common\\Store\\StorageClientV4\\StorageClientV4TableProvider.cs:line 0\r\nRequest Information\r\nRequestID:2c32815c-7002-00a8-80a3-bf2e0b000000\r\nRequestDate:Sat, 21 Nov 2020 01:13:36 GMT\r\nStatusMessage:Conflict\r\nErrorCode:EntityAlreadyExists\r\nErrorMessage:The specified entity already exists.\nRequestId:2c32815c-7002-00a8-80a3-bf2e0b000000\nTime:2020-11-21T01:13:36.9441941Z\r\n ExtendedErrorInformation code EntityAlreadyExists, The specified entity already exists.\nRequestId:2c32815c-7002-00a8-80a3-bf2e0b000000\nTime:2020-11-21T01:13:36.9441941Z\r\nActivityId: 356af303-9a0d-48f5-b6d8-d6bc3dccd545, Microsoft.Azure.Documents.Common/2.11.0, Microsoft.Azure.Documents.Common/2.11.0, Microsoft.Azure.Documents.Common/2.11.0, Microsoft.Azure.Documents.Common/2.11.0"}
    
    0 comments No comments

0 additional answers

Sort by: Most helpful