web
You’re offline. This is a read only version of the page.
close
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...
Suggested Answer

Nav database extraction and Linking

(3) ShareShare
ReportReport
Posted on by 8
 
 
Hello Experts and Devs
 
I'm facing a challenge I'm a junior dev under IT i have been asked to link a central machine that uses Dynamic Nav to extract only 4 fields of data from a table that will be then displayed on an HTML display page which we will later be projected on an LED screen to show the extracted information.

but when I try to extract using a services link under Nav I get a 401 error that's related to AUTHENTICATION.
I have tried using the authentication on the domain of the company but I still can't seem to connect but get a "failed to fetch data, 401 error"
 
Attached to the post is a screenshot of what error i get when i use a services link.

kindly help me fix this.
Screenshot 2025-05-21 084508.png
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    This doesn't look like a NAV error. What external system is this?
    The simplest way to think about it is to directly fetch the SQL data and then display it on the page, which has nothing to do with NAV AUTHENTICATION.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    25,236 Most Valuable Professional on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,601 Super User 2025 Season 2 on at
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,150 Super User 2025 Season 2 on at
    This looks more like an authentication issue on the web service layer, not a NAV internal error.
     
    Since you're just trying to display a few fields on an HTML screen, a simpler workaround would be to directly query the NAV SQL database and display the values from there — this avoids the whole NAV web service authentication complexity.
     
    If SQL access isn’t allowed and you must go through NAV, make sure:
     
    The NAV service is configured with Windows or NavUserPassword authentication.
     
    Your endpoint URL is correct (/OData/, /SOAP/, etc.).
     
    The account you're using has the right permissions in NAV and access rights in IIS/Service Tier.
     
     
    Let me know what NAV version you're on and how you're calling the service — I can guide you more precisely.
     
    Mark below checkbox to make this answer Verified if it helps you.
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans