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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Gaddam
Frequent Visitor

Error in ODBC or MongoDB

Hello Everyone, 

 

I am trying to fetch the data from MongoDB through ODBC driver. List of collections are defined. Among them i am having issue with one collection. when i try to get data from that collection i am getting error like this

DataSource.Error: ODBC: ERROR [HY090] [MySQL][ODBC 1.4(w) Driver][mysqld-5.7.12 mongosqld v2.14.5]One or more parameters exceed the maximum allowed name length
Details:
DataSourceKind=Odbc
DataSourcePath=dsn=MongoDB
OdbcErrors=[Table]
Not able to figure the issue. Did anyone faced this issue? it would much help if someone guide me with it.
 
Thanks in advance for your time 
Regards Sushma
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Gaddam,

According to the error message, it seems like the issue is related to the connection string and ‘one or more parameters exceed the maximum allowed name length’. You can also take a look at the following document about limit on MongoDB if helps:

MongoDB Limits and Thresholds — MongoDB Manual

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Gaddam,

According to the error message, it seems like the issue is related to the connection string and ‘one or more parameters exceed the maximum allowed name length’. You can also take a look at the following document about limit on MongoDB if helps:

MongoDB Limits and Thresholds — MongoDB Manual

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Gaddam
Frequent Visitor

To add more info to the above issue. Among list of the collection as shown in attached pic. I don't have any issue when get data from the collections Dependency_dependencies,ExecutionDetails, ExecutionDetails_execution_details, ObjectUnderTest, QualityGate. Only getting error with TestSuiteExectionInfo and also observed below that some random files which are not collections.

Gaddam_0-1686124802386.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.