PyMongo on Azure Cosmos and MongoDB
I created an Azure Cosmos (RU) Serverless database (sharded) with a MongoDB engine and would like to use Python and pymongo to run queries on it. I am not managing to connect to it in any way. I have tested…
I created an Azure Cosmos (RU) Serverless database (sharded) with a MongoDB engine and would like to use Python and pymongo to run queries on it. I am not managing to connect to it in any way. I have tested…
I have proxy problems with my .NET app. When running it locally behind a corporate proxy I cannot access the Cosmos DB since it receives the calls from my VPN IP and not the whitelisted proxy-server IP. I manage my…
I'm trying to connect to a Cosmos DB for Mongo DB using a private endpoint. The private endpoint creation succeeeds and is approved. The subnet configuration is working to connect to other resources such as Key Vault, SQL Server and…
I am trying to disable local authentication for my Cosmos DB and use Managed Identity for my Web App and Function App which connects to it. I have granted both apps the Cosmos DB Built-in Contributor role and verified they…
I'm encountering an issue with CosmosDB while performing a batch upsert operation. The error code 16500 indicates a "TooManyRequests" (429) status, which suggests that the request rate is too high for the provisioned throughput. The full error message is as…
I'm learning Azure functions and have faced a problem. The function hangs when getting a record from cosmos db. I use the cosmos db emulator. The function works properly without code that fetches records from cosmos db. I see log:…
I am learning Azure and I just created a fresh account. I attempted to create a Cosmos DB NoSQL account, choosing the serverless capacity mode. This is for a small educational project that would not require many requests or activity.…
This is resolved. Please look at the answers I am following this lab: https://github.com/AzureCosmosDB/Azure-OpenAI-Node.js-Developer-Guide/tree/main/Labs/first_cosmos_db_application After I received errors, I just copied the lab code so there should not be code side errors. In my .env file, I have: MONGODB_URI=mongodb+srv://<user>:<password>@phase-1-db.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000 where…
We currently have a few AzureFunctions that use an Azure CosmosDB trigger. As I understand, this uses a ChangeFeed generated by CosmosDB that generates the input elements for the triggered function. My question is: If I disable the Azure Function…
In Azure Data Factory, I have recently moved a CosmosDb Connection which was using a connection string to using Managed Identity with RBAC (Cosmos DB Built-in Data Reader role). However, I noticed early on in the pipeline, when there are…