Skip to main content

Notifications

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans