Getting DataSource.NotFound: OData: Request failed (404) in Excel Power Query

Occasional Visitor

I have an Odata V4 service written with java olingo.

When I try navigating between entities in Excel Power Query I get this error:


DataSource.NotFound: OData: Request failed (404): The remote server returned an error: (404) Not Found. (Resource not found.)


It looks like Excel (2013 + Power Query plugin) generated the invalid URI:



I was expected from Excel to generate the following:



The question is why Excel is using the the entity set name (tests) instead of the navigation property name (test) as it should be?


below you can find our metadata (the relevant lines are marked in purple).

<EntityType Name="product_area">
<PropertyRef Name="id"/>
<Property Name="creation_time" Type="Edm.DateTimeOffset"/>
<Property Name="client_lock_stamp" Type="Edm.Int64"/>
<Property Name="has_children" Type="Edm.Boolean"/>
<Property Name="version_stamp" Type="Edm.Int64"/>
<Property Name="description" Type="Edm.String"/>
<Property Name="name" Type="Edm.String"/>
<Property Name="id" Type="Edm.String"/>
<Property Name="last_modified" Type="Edm.DateTimeOffset"/>
<NavigationProperty Name="parent" Type="OData.Octane.product_area" Nullable="false"/>
<NavigationProperty Name="test" Type="Collection(OData.Octane.test)"/>
<NavigationProperty Name="children" Type="Collection(OData.Octane.product_area)"/>
<NavigationProperty Name="work_item" Type="Collection(OData.Octane.work_item)"/>

<EntitySet Name="tests" EntityType="OData.Octane.test"/>




Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies