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

# <i class="fal fa-globe" aria-hidden="true"></i> Web API FAQ and Troubleshooting guide  

Discover answers to common questions and solutions for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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.*  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Swagger may be removed in a future version of the Web API. Use Scalar for new work.</p></div>
</aside>

## What is Scalar?

[Scalar](https://scalar.com)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> is the modern, interactive API reference that comes with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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].

___

## <i class="fal fa-user-md" aria-hidden="true"></i> 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].

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

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

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> 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]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/WebAPI/Swagger_WhoAmI.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/WebAPI/Scalar_WhoAmI.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/WebAPI/WebAPI_Script401.gif
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/WebAPI/WebAPI_Scalar404.gif

[AI]:https://docs.nodinite.com/ai/overview/
[Base URL]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/#find-the-base-url
[Claims]:https://docs.nodinite.com/administration/access-management/claims/features/what-is-a-claim/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS Authentication settings]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/
[Install]:https://docs.nodinite.com/core-services/web-api/getting-started/install/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[LogAccessRoles]:https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogServiceUsers]:https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/
[MaintenanceMode]:https://docs.nodinite.com/administration/settings/system-parameters/maintenancemode/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[Manage the Web API]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[MCP Endpoint External Access]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[OAuth 2.0]:https://docs.nodinite.com/core-services/web-api/scenarios/call-the-web-api-with-oauth-2-0-client-credentials/
[Portal Web API Audiences]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#web-api
[Prerequisites]:https://docs.nodinite.com/core-services/web-api/getting-started/prerequisites/
[Prerequisites Accounts]:https://docs.nodinite.com/core-services/web-api/getting-started/prerequisites/#fa-user-shield-accounts-and-rights-at-a-glance
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Scenarios]:https://docs.nodinite.com/core-services/web-api/scenarios/overview/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[Swagger]:https://swagger.io/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Uninstall]:https://docs.nodinite.com/core-services/web-api/troubleshooting/uninstall/
[Update]:https://docs.nodinite.com/core-services/web-api/updating/
[User Notification Maintenance Mode]:https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/#maintenance-mode
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web API or MCP Endpoint]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/#web-api-or-mcp-endpoint
[Web API System Parameters]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/#system-parameters
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/
[Windows AD Groups]:https://docs.nodinite.com/administration/access-management/windows-ad-groups/features/what-is-a-windows-ad-group/
[Windows Authentication]:https://docs.nodinite.com/core-services/web-api/scenarios/call-the-web-api-with-windows-authentication/