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! Learn more

Reply
cgeraeds
Advocate I
Advocate I

Error 400 - Odata connection error

Hello all,

 

We have a connection to our Navision database with OData using Web Services.

However since last week we're getting the following error:

Error 400 - Bad Request OData.png

The used URL is:

http://10.0.0.XX:7048/LIVE/OData/Company('[Navision Company code]%20-%20XX%20[Company city]')/GL_export

Also tried a shortened and expanded URL

Trying to connect via Windows credentials.

 

We tried many things including restarting the server, compiling the data but all didn't help.

 

Any help would be greatly appreciated as we can't continue implementing Power BI right now.

 

Thank you.

 

Chris

1 ACCEPTED SOLUTION
cgeraeds
Advocate I
Advocate I

Hello,

 

Problem was with Navision.

 

We make the Odata connection using web services.

In these web services we made both a query and a page which directed to the same data.

 

This created a conflict which caused an error.

That's why first everything worked fine at first and then after some weeks not anymore.

 

So solution was simply to remove the page.

 

Thank you.

View solution in original post

3 REPLIES 3
cgeraeds
Advocate I
Advocate I

Hello,

 

Problem was with Navision.

 

We make the Odata connection using web services.

In these web services we made both a query and a page which directed to the same data.

 

This created a conflict which caused an error.

That's why first everything worked fine at first and then after some weeks not anymore.

 

So solution was simply to remove the page.

 

Thank you.

Anonymous
Not applicable

@cgeraeds,

What is the result if you connect to the OData URL in Excel? And how about replacing the IP address with server name in your URL?

Regards,
Lydia

Hello Lydia @Anonymous,

 

In Excel I receive the same error message:

image.png

 

Using the server name doesn't let me log in, it doesn't recognize my Windows credentials.

 

Any other solutions?

 

Kind Regards,

Chris

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.