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 - DEEP INSERT ISSUE / ODATA API - URGENT!!!

(0) ShareShare
ReportReport
Posted on by 134
Hi experts,

I've been facing an issue for a while now and unable to solve it.


The issue is in the API page (Business Central custom API page).

Sometimes it works perfectly, sometimes automatically throws an error (400-Bad request)
 
 
 
 
 



WHEN IT IS WORKING CORRECTLY:

 
 
WHEN THERE IS THIS ERROR:
METADATA CHANGES:
 
 
 
 
 


IF YOU REQUIRE ANY MORE DETAILS FEEL FREE TO ASK.

 
 
  • Abdullah Khalid Profile Picture
    134 on at
    API - DEEP INSERT ISSUE / ODATA API - URGENT!!!
    Unfortunately there is no update on this issue. I have reported this to Microsoft also but no progress.
     
     
    You should also raise a support ticket then Microsoft will take it on serios note. 
     
    In my case I have custom API's (custom tables and API pages that get orders from web shop) and I deploy new version of extension on production this fix the metadata at the moment but again metadata breaks after some time.
    I would say it self-heal then break and then again self-heals Business Central users it's really painful because they stop getting orders from web shops.
  • Community member Profile Picture
    4 on at
    API - DEEP INSERT ISSUE / ODATA API - URGENT!!!
    Any update on this issue? I am experiencing the exact same problem with an API with deep inserts. Intermittently the metadata for the NavigationProperty disappears. Inexplicably the issue resolves itself after a while and everything start working again. Then after a random amount of time the issue reappears.
  • Suggested answer
    Nitin Verma Profile Picture
    21,394 Moderator on at
    API - DEEP INSERT ISSUE / ODATA API - URGENT!!!
    Hi,
    can you try without putting the salesline in the URL paramater?
     
    Also Check your sub link property on subform, it should be like Document Type and Document No.
     
     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,910 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,782 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans