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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rsmccall33
Helper II
Helper II

increase number of columns that can be imported using OData Feed

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?  

1 ACCEPTED SOLUTION
rsmccall33
Helper II
Helper II

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=*

 

 

View solution in original post

3 REPLIES 3
rsmccall33
Helper II
Helper II

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=*

 

 

rsmccall33
Helper II
Helper II

Are these the limitations?  75 columns?

 

https://msdn.microsoft.com/en-us/library/dn950053.aspx

 

Anonymous
Not applicable

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:

 

OData Url Length Limitations

 

httpRuntime Element (ASP.NET Settings Schema)

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors