【发布时间】:2021-04-30 15:58:29
【问题描述】:
我在 azure 中创建了一个资源作为 CosmosDB 的 MongoDB api。但是当我添加任何集合时。我收到以下错误。
OperationFailure: Retryable writes are not supported. Please disable retryable writes by specifying "retrywrites=false" in the connection string or an equivalent driver specific config., full error: {'ok': 0.0, 'errmsg': 'Retryable writes are not supported. Please disable retryable writes by specifying "retrywrites=false" in the connection string or an equivalent driver specific config.', 'code': 2, 'codeName': 'BadValue'}
【问题讨论】:
-
请编辑您的问题以显示您正在使用的导致错误的代码(还请指定您使用的语言,这将帮助人们了解您使用的 SDK) .仅凭一条没有任何其他详细信息的错误消息很难诊断。
标签: azure azure-cosmosdb azure-cosmosdb-mongoapi