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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Tonil
Regular Visitor

Odata context URL is invalid

When trying to Get Data from an Odata source, from Dynamics 365 Business Central Online, I get the below error, yet other Odata links from the same database connect fine. We are looking at Vendor data but in the Item Ledger Entry (ILE) table, and the link works fine in the browser, but not when trying to load into PBI.

 

image.png

image.pngimage.png

We have filtered the query to reduce the data, so the issue is not size, we have recreated the Query, republished the query, reduced the number of columns, and each scenario populates the data in the browser window, however it won’t load into PBI.

We have opened a new file in PBI, connected to an existing odata source which works fine, but this new one linking to Item Ledger entries in Business Central is not.

The webservices that work and that don’t work are created in a similar way in the Business Central extension through a query object. The browser is using the same connection method with username and webserviceaccesskey and we use the same username details in PBi. We have compared the first part of the URL results for the file that would load (ITEMSACPBI) and the file that won’t (VILE2), and they are identical. {"@odata.context":"https://api.businesscentral.dynamics.com/v2.0/ ODataV4/$metadata#Company('My%20Company')/ITEMSACPBI","value" {"@odata.context":"https://api.businesscentral.dynamics.com/v2.0/ ODataV4/$metadata#Company('My%20Company')/VILE2","value"

Any ideas/help would be appreciated! Thanks

4 REPLIES 4
j2associates
New Member

This makes no sense to me, but it worked. I was getting the exact same error as others have posted above for a query that was setup identically to other queries that were working. To resolve the issue, I cleared all Cache and User Permissions within the Power BI desktop. After doing so, the query then pulled data as expected.

 

This worked for me, thanks

Greg_Deckler
Super User
Super User

@Tonil - Tough to say exactly. You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors