Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Calling method on cust...
Finance forum

Calling method on custom oData Entity returns No route data was found for this request

(0) ShareShare
ReportReport
Posted on by 335

Hello,

I have created a custom oData Entity in D365FO.

I have a method which seemed to work before D365 v8, now it always fails:

{"Message":"No HTTP resource was found that matches the request URI '<myurl>/data/VRAQualityOrders/Microsoft.Dynamics.DataEntities.ValidateQualityOrder'. No route data was found for this request."}

My method body looks like this:

2019_2D00_06_2D00_19_5F00_23_2D00_15_2D00_27.jpg

Anyone has a clue with goes wrong here?

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Calling method on custom oData Entity returns No route data was found for this request

    Hi dcvasmey,

    Are you also trying to call oData action (method on entity decorated with SysODataActionAttribute)?

    In the cases above oData action is bounded to entity instance (second parameter on attribue SysODataActionAttribute is true), but execution is done for entity set. For the entity set case, method should be bounded to entity set (static) and second parameter in attribute SysODataActionAttribute set to false.

  • Community Member Profile Picture
    on at
    RE: Calling method on custom oData Entity returns No route data was found for this request

    Martin, I'm still trying to determine why my public data entity is not found and has this exact same error as above.  Doing an HTTP post to create a record in F&O.  

    po365opsdev14cd10eb9095324c6cdevaos.cloudax.dynamics.com/.../GSInventoryTransaction

  • Shiva0414 Profile Picture
    30 on at
    RE: Calling method on custom oData Entity returns No route data was found for this request

    Hi,

    Even I have same issue, can some one guide how to resolve this issue.

  • LaurentCallewier Profile Picture
    10 on at
    RE: Calling method on custom oData Entity returns No route data was found for this request

    Hey Martin

    I am trying to use the execute action connector on Power Automate to execute data entity actions in d365.

    I made a custom data entity with one action im trying to execute.

    reply1.PNG(Power Automate wouldnt change te language but basically its the legal entity, action and parameter(s))

    I get a 404 response namely:

    {
    "status": 404,
    "message": "{\r\n \"Message\": \"No HTTP resource was found that matches the request URI 'kopal-d365fo-buildaos.sandbox.ax.dynamics.com/.../Microsoft.Dynamics.DataEntities.Test'. No route data was found for this request.\"\r\n}\r\nclientRequestId: 569035f9-0c05-461a-9a33-8c174f3c030d",
    "error": {
    "message": "{\r\n \"Message\": \"No HTTP resource was found that matches the request URI 'kopal-d365fo-buildaos.sandbox.ax.dynamics.com/.../Microsoft.Dynamics.DataEntities.Test'. No route data was found for this request.\"\r\n}"
    },
    "source": "kopal-d365fo-buildaos.sandbox.ax.dynamics.com",
    "errors": []
    }

    The URL is in bold.

    reply2.PNG

    This is the data entity class with one action im trying to execute, very simple example just to see if it works.

    Not sure if my data entity class is still missing something?

    If you could help me in any way that would be fantastic.

    Thanks in advance!

  • Martin Dráb Profile Picture
    233,043 Most Valuable Professional on at
    RE: Calling method on custom oData Entity returns No route data was found for this request

    Can you shows us the URL that you're using to execute the action?

  • LaurentCallewier Profile Picture
    10 on at
    RE: D365: calling method on custom oData Entity returns No route data was found for this request

    I have the same problem, no solution found?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans