web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

API Query Not Accessible in ODATA or Online

(1) ShareShare
ReportReport
Posted on by 293
Dear Experts.
 
I am developing 2 queries in Al Language type=API first one is Deployed in BC sandbox and published successfully. I copied 1st Query and Change Object ID Name as common practice and deployed (later it was plan to  add filter in 2nd query)
But getting error on accessing 2nd query even tried with different IDS and Name and try to re publish and deploy but still in same error as below.
 
 
1st Query in Al Language which is working very well with excel and power bi.
 
2nd Query copy which is deployed same way and published but not working.
 
Published in same correct way Query 1 and Query 2. but Query 2 not working in ODATA Feed in excel or power bi.
 
 
Thanks in Advance for your precious time.
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,449 Super User 2025 Season 2 on at
     
    You need to use TrackingV2 instead tv2 !
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,947 Super User 2025 Season 2 on at
    The issue likely lies in the uniqueness of EntitySetName, APIGroup, or APIName in the second query. Ensure these values are distinct from the first query. Unpublish the second query, clear cached metadata, redeploy it, and reconnect in Excel or Power BI.
  • aqeel2020uae Profile Picture
    293 on at
    Dear Khusbu Rajvi and Amine.
     
    EntitySet Name and other parameters are different than Query 1. and i tried the other solution but still not working.
     
    Thanks
    Aqeel.
  • Gerardo Rentería García Profile Picture
    25,388 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    How Do I: Create a simple API query and page for PowerBI? – think about IT

    Best Regards
    Gerardo

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,947 Super User 2025 Season 2 on at
    Such strange things—one query is working, and another is throwing an error.
    Do one thing: copy the entire query code that is working properly and create new query, then check if it works fine. If it does, then there is likely something messy in the second query.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,126

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 744 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 674 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans