---
title: Nodinite Web API FAQ & Troubleshooting Guide | Core Services
description: Explore the Nodinite Web API FAQ and troubleshooting guide. Learn about Scalar and Swagger support, protocols, help resources, and how to get expert support for Core Services.
---

# :fa-globe: Web API FAQ and Troubleshooting guide  

Discover answers to common questions and solutions for the :Nodinite: [Web API][]. This guide helps systems integration experts and potential customers quickly resolve issues and understand the unique benefits of the Web API within [Core Services][].

✅ Comprehensive FAQ for the Web API  
✅ Details on Scalar and Swagger support and discoverability  
✅ Direct links to help resources and expert support  

The :Nodinite: [Web API][] is part of [Core Services][] and relies on several dependencies, as described in the [Prerequisites][] user guide. This page provides troubleshooting tips and highlights key features to help you maximize your integration experience.

![PowerShell calling GET api/Users/whoami, first 401 Unauthorized without credentials, then the caller's user with -UseDefaultCredentials, animated walkthrough (7.12)][4]  
*Animated walkthrough: a script calls the Web API in [Windows Authentication][] mode. Without credentials the answer is `401 Unauthorized`; with `-UseDefaultCredentials` the Web API answers with the caller's user. See [Why does my script get 401 Unauthorized?](#why-does-my-script-get-401-unauthorized)*  

## Does the Web API support Swagger?

Yes. Add `/swagger` to the Web API base URL, for example `https://nodinite.contoso.com:40001/swagger`, to open [Swagger][Swagger]. It lists every REST operation with its request and response models, and lets you send test requests with **Try it out** and **Execute**.  

![Swagger UI showing a successful call to GET /api/Users/whoami (7.12)][1]  
*Swagger shows the curl command, the request URL, and the response body for each test request.*  

>[!NOTE]
>Swagger may be removed in a future version of the Web API. Use Scalar for new work.

## What is Scalar?

[Scalar](https://scalar.com)<sup>:fa-arrow-up-right-from-square:</sup> is the modern, interactive API reference that comes with the :Nodinite: v7 Web API, next to Swagger. Add `/scalar` to the Web API base URL, for example `https://nodinite.contoso.com:40001/scalar`. Besides browsing operations and sending test requests, Scalar generates code snippets in many languages, such as C# `HttpClient`, PowerShell, Python, and curl. The snippets don't include authentication; add it as described in [Manage the Web API][].

![Scalar API reference showing GET /api/Users/whoami with a C# HttpClient snippet (7.12)][3]  
*Scalar groups the operations by area and generates a snippet for the selected language.*  

## Why does /swagger, /scalar, or an API call return 404?

Check the base URL. In :Nodinite: v7, each environment's Web API is its own [IIS][IIS Authentication settings] web site with its own port, such as `https://nodinite.contoso.com:40001`. The port is set for each environment in the :Nodinite: Portal, in the [Servers step][]. Add `/scalar` or `/swagger` directly after the port, not after a path. See [Find the base URL][Base URL].

The same applies to API calls: use `https://nodinite.contoso.com:40001/api/Users/whoami`. A path between the port and `/api/`, such as `/WebAPI/api/Users/whoami`, returns `404 Not Found` with an empty body, so a browser shows a blank page. Without credentials, a wrong path answers `401 Unauthorized` first, because sign-in is checked before the route.

![A wrong path between the port and /api/ getting 404 Not Found, the same call right after the port answering, then /scalar opening, animated walkthrough (7.12)][5]  
*Animated walkthrough: `/WebAPI/api/Users/whoami` gets `404 Not Found`, `/api/Users/whoami` right after the port answers, and `/scalar` opens the API reference, also right after the port.*  

## What protocols are supported?

For a detailed overview of supported protocols and security best practices, see the [Hardening][] guide.

## Is there a Help page?

Yes. The interactive API references are the help pages for the :Nodinite: v7 Web API. Open Scalar at `<webapi-base-url>/scalar` or Swagger at `<webapi-base-url>/swagger` to browse the operations, their parameters, and response models. See [What is Scalar?](#what-is-scalar).

## How do I call the Web API from a script or pipeline?

It depends on the authentication mode of your environment. In OpenID Connect / OAuth 2.0 mode, register a client app and send an access token, as described in [Call the Web API with OAuth 2.0 Client Credentials][OAuth 2.0]. In Windows Authentication mode, run the script as a Windows account with access in :Nodinite:, as described in [Call the Web API with Windows Authentication][Windows Authentication]. For an overview, see [Manage the Web API][].

## Why does my script get 401 Unauthorized?

In Windows Authentication mode, make the script send its Windows credentials. The Web API answers `401` with `WWW-Authenticate: Negotiate` until the client authenticates, and PowerShell sends the current account only when you ask it to:

```powershell
Invoke-RestMethod -Uri https://nodinite.contoso.com:40001/api/Users/whoami -UseDefaultCredentials
```

Use `-Credential` for another account, and `curl --negotiate -u :` with curl. Call the `https://` address: over plain `http://`, PowerShell 7 refuses to send Windows credentials unless you add `-AllowUnencryptedAuthentication`. The account must be a :Nodinite: [User][Users], or a member of a registered [Windows AD Group][Windows AD Groups], with a [Role][Roles].

In OAuth 2.0 mode, check that the token was requested with the scope `<api-app-id-uri>/.default` of the :Nodinite: Web API, and that it has not expired. Tokens last about an hour. In Windows Authentication mode, check that the account is a domain account and that the [SPN][] matches the URL when you use Kerberos. See the troubleshooting tables in the [OAuth 2.0][OAuth 2.0] and [Windows Authentication][] guides.

## Why does my client get a response but no data?

The caller is authenticated but has no Nodinite [Role][Roles] with access to the data. Call `api/Users/whoami` to see which Roles the caller has. In OAuth 2.0 mode, check that the [Claim][Claims] value matches the app role value exactly and that its Policy is added to a Role, then request a new token. Changes can take up to about an hour to apply to a client that is already connected.

## Why do log searches fail on the newest Log Database while older ones work?

The Web API reads the [Log Databases][] as its application pool identity. When the [Logging Service][] creates a new Log Database, it grants access only to the accounts in [LogServiceUsers][]. If the Web API runs as an account that isn't in that list and isn't `sysadmin`, it can't read the new database, so searches that reach it fail. Add the account to [LogServiceUsers][], and grant it the roles in [LogAccessRoles][] on the Log Databases created since then; see [Accounts and Rights at a Glance][Prerequisites Accounts].

## What happened to the MaintenanceMode System Parameter?

It was removed in :Nodinite: 7.12, so a script that still calls `PUT api/SystemParameters/MaintenanceMode` must drop that call; see [MaintenanceMode][]. To plan downtime and mute alerts, use [Maintenance Mode][User Notification Maintenance Mode] in User Notifications. To pause the [Logging Service][] and the [Monitoring Service][], use **Stop** on the [Log Databases][] page, or call `PUT api/Status/Service/{loggingservice|monitoringservice}/Maintenance?enableMaintenance=true` (Administrators); see [System Parameters in Manage the Web API][Web API System Parameters].

## Why does a System Parameter change through the Web API break a feature?

`PUT api/SystemParameters/{key}` validates many keys and answers `400 Bad Request` with the reason, saving nothing: the true/false switches (such as `AllowExport`, `AllowRepair`, `AllowResubmit`, `UseContracts`), the whole-number settings with their lowest values (such as the `DaysToKeep…` defaults and the cleanup intervals), `LogDatabaseRecovery` (`SIMPLE` or `FULL`), `ResendWebhookSettings`, `SharedFilePolicy`, `ArticleSecurityPolicy`, `LogEventsPerDayThresholds`, and `AI`. `CustomerName` and `ProductKey` are refused, and an unknown key answers `404 Not Found`. Other keys are saved as sent, so for their `json` values call `POST api/SystemParameters/{key}/ValidateJson` first, then save.

No restart is needed after a fix, but when it takes effect depends on who reads the parameter: the Web API within about 15 seconds, other services on a longer cache (the [Logging Service][] up to 5 or 15 minutes, the [Web Client][] up to an hour for a few view settings). Each parameter page states its timing. See [Manage System Parameters][].

## Why does the Web API reject my OAuth token although sign-in to the Web Client works?

The token must be issued for the Web API audience. Compare the `aud` claim in the token with the Web API **Audiences** value set in the Portal, in the [Auth step, Web API][Portal Web API Audiences], and see [Call the Web API with OAuth 2.0 Client Credentials][OAuth 2.0].

## Should I use the Web API or the MCP Endpoint?

Use the **Web API** when the result must be repeatable: scripts, CI/CD pipelines, integrations, and reports. It is deterministic, so the same request returns the same result. Use the [MCP Endpoint][] when you want to ask natural-language questions about your integration landscape from an AI tool such as VS Code or Claude Desktop. See [Web API or MCP Endpoint?][Web API or MCP Endpoint], [MCP Endpoint External Access][], and [AI in Nodinite][AI].

___

## :fa-user-md: Contact our support

If you have questions or encounter issues with the [Web API][], contact our expert team. Read more on the [Support page][SupportPage].

## :fa-hand-point-right: Next Steps

* [Web API Overview][Web API]  
* [Core Services Overview][Core Services]  
* [Web API Prerequisites][Prerequisites]  
* [Manage the Web API][]  
* [Web API Scenarios][Scenarios]  

## :fa-link-horizontal: Related Topics

* [Hardening Guide][Hardening]  
* [Integrations Overview][Integrations]  
* [Swagger Documentation][Swagger]  
* [MCP Endpoint][]  
* [AI in Nodinite][AI]  
* [System Parameters][]  
* [Install Web API][Install]  
* [Update Web API][Update]  
* [Uninstall Web API][Uninstall]  

[1]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebAPI/Swagger_WhoAmI.png
[3]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebAPI/Scalar_WhoAmI.png
[4]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebAPI/WebAPI_Script401.gif
[5]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebAPI/WebAPI_Scalar404.gif

[AI]:{ndr}/AI/Overview.md
[Base URL]:{ndr}/Core%20Services/Web%20API/Features/Managing%20the%20Web%20API.md#find-the-base-url
[Claims]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/What%20is%20a%20Claim.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IIS Authentication settings]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md
[Install]:{ndr}/Core%20Services/Web%20API/Getting%20started/2.%20Install.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[LogAccessRoles]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogAccessRoles.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogServiceUsers]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogServiceUsers.md
[MaintenanceMode]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MaintenanceMode.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Manage the Web API]:{ndr}/Core%20Services/Web%20API/Features/Managing%20the%20Web%20API.md
[MCP Endpoint]:{ndr}/AI/MCP%20Endpoint.md
[MCP Endpoint External Access]:{ndr}/AI/MCP%20Endpoint%20External%20Access.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[OAuth 2.0]:{ndr}/Core%20Services/Web%20API/Scenarios/Call%20the%20Web%20API%20with%20OAuth%202.0%20Client%20Credentials.md
[Portal Web API Audiences]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#web-api
[Prerequisites]:{ndr}/Core%20Services/Web%20API/Getting%20started/1.%20Prerequisites.md
[Prerequisites Accounts]:{ndr}/Core%20Services/Web%20API/Getting%20started/1.%20Prerequisites.md#fa-user-shield-accounts-and-rights-at-a-glance
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Scenarios]:{ndr}/Core%20Services/Web%20API/Scenarios/Overview.md
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[SupportPage]:{ndr}/Getting%20Started/Support.md
[Swagger]:https://swagger.io/
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Uninstall]:{ndr}/Core%20Services/Web%20API/Troubleshooting/Uninstall.md
[Update]:{ndr}/Core%20Services/Web%20API/Updating.md
[User Notification Maintenance Mode]:{ndr}/Administration/6.%20Tools/4.%20User%20Notifications/Features/What%20is%20a%20User%20Notification.md#maintenance-mode
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web API or MCP Endpoint]:{ndr}/Core%20Services/Web%20API/Features/Managing%20the%20Web%20API.md#web-api-or-mcp-endpoint
[Web API System Parameters]:{ndr}/Core%20Services/Web%20API/Features/Managing%20the%20Web%20API.md#system-parameters
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md
[Windows AD Groups]:{ndr}/Administration/3.%20Access%20Management/3.%20Windows%20AD%20Groups/Features/What%20is%20a%20Windows%20AD%20Group.md
[Windows Authentication]:{ndr}/Core%20Services/Web%20API/Scenarios/Call%20the%20Web%20API%20with%20Windows%20Authentication.md