Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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,023 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans