1,543 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

Strange behavior with numbers

Hello,   We’ve been using cosmos for a few years now and just recently discovered some odd behavior. We are using the .net SDK but occasionally use the data explorer to manually view/update data for production support purposes.   To illustrate this odd…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-26T16:06:18.4733333+00:00
Justin Stanley 0 Reputation points
edited an answer 2024-07-26T19:34:16.69+00:00
Azar 22,355 Reputation points MVP
0 answers

Unknown server error occurred when processing this request. Microsoft.Azure.Documents.Common/2.14.0

Currently, none of the Cosmos Db functionality seems to work correctly at all. The queries are still running on the production environment, however on the Azure portal I am not able to perform any queries or even view the active containers on Cosmos. …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-25T10:49:02.7466667+00:00
Jacobus Kotzé 60 Reputation points
commented 2024-07-26T03:51:38.14+00:00
ShaktiSingh-MSFT 14,406 Reputation points Microsoft Employee
0 answers

CosmosDB cannot read out documents with URL encoded IDs

We had a Cosmos DB account and in one of the containers some of the documents have URL encoded IDs, e.g.: rfq_123_%28test%29 meaning "rfq_123_(test)". I'm no fan of url encoded IDs, but I'm just supporting the project and it's too late to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-25T12:25:38.28+00:00
Mikkel 5 Reputation points
commented 2024-07-25T22:31:40.84+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
0 answers

CosmosDB - Point In Time Restore: Unknown server error occurred when processing this request.

I have an issue regarding Point in Time restore. Issue 1: I'm simply trying to create a database from an existing database with a backup policy Continuous (30 days) And i'm getting the following error: Unknown server error occurred when processing…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-25T12:32:15.78+00:00
Marcel Croes (DutchWorkz BV) 11 Reputation points
edited the question 2024-07-25T15:13:18.9133333+00:00
VarunTha 5,980 Reputation points Microsoft Vendor
1 answer

Error: Multiple attempts to restart one of the Azure Cosmos Emulator processes were detected.

Hi! I have just installed version 2.14.18 of CosmosDB emulator on an Edition Windows 11 Pro Version 22H2 Installed on ‎2023-‎11-‎22 OS build 22621.2715 in a VM on a Mac mini M1 and it fails to start with Error: Multiple attempts to restart one of the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-15T15:25:49.1266667+00:00
Bivit 6 Reputation points
commented 2024-07-24T19:39:58.74+00:00
Azar 22,355 Reputation points MVP
1 answer

Azure Cosmos DB emulator, fail to use it from python due to Firewall errors

I've started a cosmos db in my docker on the windows machine, used Linux docker image. docker run \ --publish 8081:8081 \ --publish 10250-10255:10250-10255 \ --name linux-emulator \ --detach \ …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-23T14:36:04.5533333+00:00
edited the question 2024-07-24T13:42:57.26+00:00
1 answer

CosmosDb incerased number of http 449 errors

Hi,   Unfortunately, over the last three weeks, we've been experiencing random HTTP 449 errors. This hasn't happened before. We now that that the recommendation is to retry the request, but its not working, we try 10 times these failed requests with no…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-23T14:44:19.86+00:00
Dániel Kiss 0 Reputation points
accepted 2024-07-24T07:29:19.9833333+00:00
Dániel Kiss 0 Reputation points
1 answer

Error Data Flow connection vs CosmosDb

I'm creating a ADF data flow to import data from CosmosDb. I have created a linked service and a dataset to connect with CosmosDb; these connections run successfully: Linked Service connection Dataset connection When i try to do a data preview…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
asked 2024-07-16T13:46:31.1066667+00:00
Izaura Domi 0 Reputation points
commented 2024-07-23T14:10:27.7266667+00:00
Bhargava-MSFT 29,266 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Retirement Announcement - Update to version 3 of the Azure Cosmos DB .NET SDK by 31 August 2024

Because version 3 of the Azure Cosmos DB .NET SDK includes updated features and improved performance, we'll retire version 2.x of this SDK on 31 August 2024. As a result, you'll need to update your SDK to version 3 by that date. If you have a question,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2021-08-26T23:17:33.397+00:00
HimanshuSinha-msft 19,386 Reputation points Microsoft Employee
commented 2024-07-23T08:58:29.9633333+00:00
Csaba Gal 0 Reputation points
0 answers

TTL on timestamp fields are not accepted on older instances of Azure Cosmo DB for MongoDB

We are using several Azure Cosmos DB for MongoDB (RU) instances running on server version 4.2. We now want to create a TTL index on a timestamp field. When we create the index it gives the exception "The 'expireAfterSeconds' option is supported on…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-22T12:40:00.61+00:00
Kris Lemoine 0 Reputation points
commented 2024-07-23T06:33:28.94+00:00
Kris Lemoine 0 Reputation points
2 answers

Normalized RU Consumption metrics calculation for Azure Cosmos

Hi, I was trying to understand the different metrics available in azure portal for Azure Cosmos resource. There is one metric named as "Normalized RU Consumption(Max)" , I would like to understand how this percentage is calculated over a given…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-10T04:08:39.6933333+00:00
Debajit Mitra 20 Reputation points
commented 2024-07-23T04:46:00.83+00:00
ShaktiSingh-MSFT 14,406 Reputation points Microsoft Employee
1 answer

Getting error after recreating cosmos db - System.IO.InvalidDataException: Could not find the start of the json array in the stream: | Old databases are working fine only getting this error while reading data from new cosmos dbs

Getting error after recreating cosmos db - error > System.IO.InvalidDataException: Could not find the start of the json array in the stream: | Old databases are working fine only getting this error while reading data from new cosmos dbs

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-22T12:57:54.32+00:00
Mayur Malekar 0 Reputation points
edited the question 2024-07-23T01:45:26.6633333+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer

Cosmos database_RID metrics for API (Microsoft.DocumentDB)

I’m trying to obtain data from a specific cosmosDB database, in this case I use the Total Requests metric as an example.  With the help of the URL…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,447 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-18T00:47:57.7066667+00:00
Nadia Mendez 0 Reputation points
commented 2024-07-22T23:44:02.1233333+00:00
Nadia Mendez 0 Reputation points
2 answers

ADF Issue with partially uploading data to Cosmos DB SQL API

I am migrating data from one container to another container in Cosmos DB SQL API, where I only changed the partition key. However, when migrating using ADF, it is not writing the complete data at the sink side. Can you please guide me on how to resolve…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
asked 2024-07-19T15:09:45.43+00:00
Brahmendra Shukla 0 Reputation points
edited an answer 2024-07-22T15:41:19.6766667+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Azure Data Factory error creating blob

Hi, I have a pipeline in Azure Data Factory that queries Cosmos DB for some data and writes this data in a blob storage. It was working until it wasn't. I changed the query in the copy activity for a specific scenario, and when I ran it again it failed…

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,944 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,639 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
asked 2024-07-20T12:55:13.6333333+00:00
Joao Borba 25 Reputation points
commented 2024-07-22T04:56:20.58+00:00
Vinodh247 13,801 Reputation points
2 answers

Regarding Azure Cosmos MongoDb Vcore Cluster service.

Issue reference: Version reference: Docs reference: https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/compatibility

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-16T07:02:15.4166667+00:00
Krishnan N 0 Reputation points
commented 2024-07-22T04:26:07.65+00:00
ShaktiSingh-MSFT 14,406 Reputation points Microsoft Employee
1 answer

"Detect Datetime" setting ignored when using Managed Identity for connecting to CosmosDB Source in ADF Copy activity

In several Azure Data Factory pipelines one of the activity is Copy Activity that uses Azure Cosmos DB for NoSQL as source and Azure Data Lake Storage Gen2 with JSON format as sink. The dates stored in CosmosDB use various datetime offsets e.g.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
asked 2024-07-17T22:26:56.36+00:00
Amit Gupta 1 Reputation point
commented 2024-07-19T18:02:39.7566667+00:00
Amit Gupta 1 Reputation point
0 answers

Trouble Assigning Cosmos DB Operator Role to User-Assigned Managed Identity via ARM Template

Hi Azure Community, I'm currently working on assigning the Cosmos DB Operator role to a user-assigned managed identity using an ARM template. Despite following the documentation, I'm encountering a "not found" error, and I'm not sure what I'm…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-06-06T11:45:22.9333333+00:00
Djordje Djukic (AKVELON INC) 0 Reputation points Microsoft Vendor
commented 2024-07-18T22:44:13.7566667+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer

Did Microsoft have a Cosmos outage on 6/27/24 from 10:11 - 10:20 AM Eastern time?

Did Microsoft have a Cosmos outage or failover on 6/27/24 from 10:11 - 10:20 AM Eastern time? We were getting response times over one minute for every call. We made thousands of calls whose status was Canceled, and hundreds of calls whose status was…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2024-07-16T19:51:14.2066667+00:00
Jim Hammond 0 Reputation points
commented 2024-07-17T18:11:56.9133333+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Catch unique key exception from Cosmos DB output binding

I have an azure function with an http trigger input that uses an output binding to write a new item into my Cosmos DB database. The collection has a unique partition key named "channel". When I try to create a new item using an existing…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,678 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
asked 2020-12-31T19:30:14.463+00:00
Jesse Stewart (he/him) 66 Reputation points Microsoft Employee
commented 2024-07-17T16:25:56.06+00:00
Redar Ismail Chicho 1 Reputation point