Skip to main content

Notifications

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.
  • Suggested answer
    Sohail Ahmed Profile Picture
    3,297 on at
    Nav database extraction and Linking
    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.
     
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    17,377 Super User 2025 Season 1 on at
  • Gerardo Rentería García Profile Picture
    19,744 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    84,325 Super User 2025 Season 1 on at
    Nav database extraction and Linking
    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

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