Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

API - DEEP INSERT ISSUE / ODATA API - URGENT!!!

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.

 
 
Categories:
  • Abdullah Khalid Profile Picture
    Abdullah Khalid 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.
  • 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
    Nitin Verma 21,063 Super User 2024 Season 1 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

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... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans