Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Any idea how to write sql statement when logging into powerbi with cosmos db connector. When I try I get the message shown below. I am not sure what the message is trying to tell me. Anyhow, does any one have the knowledge of how to?
Hi @rmh ,
You may refer to:
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/changelog.md
And according to the official document, please check if your queries contain:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
my query includes Top , so according to your screenshot, this can not be served by the gateway. Is there any thing I can do about the qateway or the the SDK, and how?
Hi @rmh ,
As the error message said——The provided by the gateway. This is a first chance (internal) exception that all newer clients will know how to handle gracefully. This exception is traced, but unless you see it bubble up as an exception (which only happens on older SDK clients), then you can safely ignore this message.
I think you need to upgrade to latest SDK version to fix the issue.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can we assume that your problem is with the query, not with the database connection?
True
Are you running the December 2021 version of Power BI Desktop?
You may want to upgrade to the latest version and then try the query again.
I have now upgraded powerbi to december version, and I still get the same weird message. I can not get from the message what am I suppose to do or what the error is.. any idea?
Did you follow @Anonymous 's suggestion and update the SDK as well? What about the gateway? That should be running 110.3
and which SDK is that? and which gateway? where can I do that?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |