Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I connected to an OData source, but am having trouble importing data because the table has too many columns.
I get an error:
Failed to save modifications to the server. Error Returned: 'OLE DB or ODBC error: [DataSource.Error] OData: Request failed: The remote server returned an error: (414) Request-URI Too Long. (Request-URI Too Long).
After reducing the number of columns I can import the data fine, but that isn't a viable solution in this case.
Is this a limitation of PowerBI or the OData protocol, and is there a way around it?
Solved! Go to Solution.
I found a solution. The limitation I linked to above is not the problem. The problem is in fact the URI too long.
In this particular case there are well over 300 columns and many have very long column names. When the OData connection is made and data is transfered, the column names are tacked onto the URI. The max characther length is breached and causes the error.
The way around this is to modify the URL you are using for the OData feed.
After /_vti_bin/ListData.svc you should add the specific table and the select all query
ex. https://siteurl.com/projectserver/db/_vti_bin/ListData.svc/tablename?$select=*
I found a solution. The limitation I linked to above is not the problem. The problem is in fact the URI too long.
In this particular case there are well over 300 columns and many have very long column names. When the OData connection is made and data is transfered, the column names are tacked onto the URI. The max characther length is breached and causes the error.
The way around this is to modify the URL you are using for the OData feed.
After /_vti_bin/ListData.svc you should add the specific table and the select all query
ex. https://siteurl.com/projectserver/db/_vti_bin/ListData.svc/tablename?$select=*
Hi @rsmccall33,
AFAK, OData not contain the length limit, but I think the service side has setting the query length limit.
E.g.
<configuration>
<system.web>
<httpRuntime maxQueryStringLength = "5000" ... />
For detailed information, you can refer to below links:
httpRuntime Element (ASP.NET Settings Schema)
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!