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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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