Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Need Help on connection refuse error when query top odatav4 endpoint

(0) ShareShare
ReportReport
Posted on by 78
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!
  • Verified answer
    Craig Yu Profile Picture
    Craig Yu 78 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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans