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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.