I have created a resource in azure as CosmosDB's MongoDB api. But when I am adding any collection. I am getting following error.
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'}
As the message indicates we don't yet support retryable rewrites. If you use the connection string for your account in the portal it has that option and will correct this error.
2.1m questions
2.1m answers
60 comments
57.0k users