Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Need Help on connection refuse error when query top odatav4 endpoint

Posted on by 76
Hi Experts,
 
We query the top endpoint of ODataV4 to get all the endpoints exposed under the tenant.
such as
GET https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4.
RESP
{
/@odata.context/: /https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4/$metadata/,
/value/: [
{
/name/: /Company/,
/kind/: /EntitySet/,
/url/: /Company/
},
{
/name/: /AccountantPortalActivityCues/,
/kind/: /EntitySet/,
/url/: /AccountantPortalActivityCues/
}
......
 
But recently, we started to get the connection refused error at around 4:00 am UTC,
then the same error stuck on this query in the next 1 or 2 hours during the retrying,
and then after about 2 hours the error went away, and everything back normal.
 
We were wondering if any other partners were encountering the same problem recently.
Or is there could be a BC server recycle or something scheduled at that timeframe can block inbound request?
Also, we are curious of that if the top endpoint of ODataV4 (https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4) is not designed for data query purpose.
 
Thanks!
Categories:
  • Verified answer
    Craig Yu Profile Picture
    Craig Yu 76 on at
    Need Help on connection refuse error when query top odatav4 endpoint
    Located already. This problem was caused by issues in our firewall's outbound rules.

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 Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

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... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans