Skip to main content

Notifications

Announcements

No record found.

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,091 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans