Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

"Resource not found for the segment" error getting custom entity from Common Data Service Web API

(1) ShareShare
ReportReport
Posted on by 249

Calling https://<org>/api/data/v9.0/custom_entity. This is the only one of my custom entities that produces this error. All others work.

{"error":{"code":"0x8006088a","message":"Resource not found for the segment 'custom_entity'."


  • malik1126 Profile Picture
    32 on at
    RE: "Resource not found for the segment" error getting custom entity from Common Data Service Web API

    It is easier to hit the following API in the browser: https://<org>/api/data/v9.0/ and you will get the entire list of entities in your browser. Copy the required entity from there and it will help resolve the issue.

  • Community Member Profile Picture
    on at
    RE: "Resource not found for the segment" error getting custom entity from Common Data Service Web API

    Interesting.  When using the plural of the table name I get no page returned but when using

    ...crm.dynamics.com/api/data/v9.0/msdyn_customergroup?$select=msdyn_groupid,msdyn_customergroupid&$filter=msdyn_groupid eq 'RESELL'

    I get the error.

    Then I put the 's' back and it returned a message.

    Nice system you web developers have dreamed up here.

  • Suggested answer
    Ankit Sabharwal Profile Picture
    on at
    RE: "Resource not found for the segment" error getting custom entity from Common Data Service Web API

    Glad to hear that it works for you. Can you please mark my post verified if it helps you out.

  • Suggested answer
    pawin Profile Picture
    249 on at
    RE: "Resource not found for the segment" error getting custom entity from Common Data Service Web API

    Thanks. I had been using plural, but my entity already ends in an 's' so I had to add 'es' to pluralise.

  • Verified answer
    Ankit Sabharwal Profile Picture
    on at
    RE: "Resource not found for the segment" error getting custom entity from Common Data Service Web API

    Hy Partner,

    Kindly use the plural name or CollectionSchemaName instead of your entity schema name. For eg: If I have created a custom entity named test with publisher as new , then API should look like below :-

    https://<org>/api/data/v9.0/new_tests.

    If above does not work, check the entity properties and compare it with OOB entity like account or any other custom entity you have.

     

    Hope this helps.

    Best regards,

    Ankit

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans