Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
biggshaad
New Member

Cosmos DB Connection Issue

I am using this endpoint to connect to my Cosmos DB:

https://[accountname].documents.azure.com:443/

 

instead of the phone in Azure:

https://[accountname].table.cosmosdb.azure.com:443/

(This endpoint won't connect with the primary key)

 

Now that I can get power BI connected, I am getting an error message below.

Any help on this?

 

Capture.PNG

2 REPLIES 2
nimatra
New Member

I think this is because of a mismatch in the driver versions between CosmosDB and PowerBI connector. I'm hitting the same issue there. I'm also hitting a more descriptive error when trying to connect through the ODBC driver

 

[Microsoft][DocumentDB] (400) HTTP 400 Bad Request:

{  
   "code":"BadRequest",
   "message":"Message: {\"Errors\":[\"The collection cannot be accessed with this SDK version as it was created with newer SDK version.\"]} 
ResourceType: Document, OperationType: Query\r\n, SDK: Microsoft.Azure.Documents.Common/2.0.0.0"
}

Please check query syntax and try again.

v-yuta-msft
Community Support
Community Support

Hi biggshaad ,

 

Based on the information you have provided, please check if column [errors] has been removed in your Cosmos DB.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.