Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

API response can't be received

(3) ShareShare
ReportReport
Posted on by 5
Hi, guys
 
We are now working on a Dynamics 365 F&O implementation project. F&O used for project is operated by 21V which is a local corp from China.
 
Based on requirement, we create several custom APIs to integrate with local systems. All these integrations can generate response to 3rd party system. Among these integrations, some of them need to create or post document, for example sales order and post packing slip, which will take a long to create or post documents for large volume of data. This long time processing may cause that 3rd party system can't receive response. 
 
We did lots of test finding that when request sending within company internet connection, this time is 5 mins. When using public internet with VS and postman request timeout of which has been set to 0 (Never) or 120000 ms, this time is 10 mins. When time exceeds 10 mins, postman stay requesting even after F&O finish processing.
 
We have checked log in AOS, no request throttled which, if I didn't misunderstand, didn't trigger service protection API limits explained in document Service protection API limits - Finance & Operations | Dynamics 365 | Microsoft Learn.
 
For 5 mins limitation, we are investigating internally. For 10 mins limitation, does anyone meet such scenario or know F&O have such limitation?
 
Version: 10.0.41
Environment: Sandbox
Categories:
  • Martin Dráb Profile Picture
    Martin Dráb 230,382 Most Valuable Professional on at
    API response can't be received
    If something takes ten minutes, using synchronous requests sounds like a bad design to me. You should consider a better design, such as utilizing message queues. Even if you don't want, the reality will likely force you anyway. You won't be able to change web.config in production, where the timeout is likely configured. 

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,382 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans