Skip to main content
Nintex Community Menu Bar

Code Fix: REST Service Instance registration fails with NullReferenceException error for complex Swagger definitions

  • June 25, 2026
  • 0 replies
  • 0 views

Forum|alt.badge.img+10

Issue Description

When you register a REST Service Instance using a third-party Swagger file, the registration may fail. Although the Swagger definition passes validation and imports successfully into tools such as Postman and Swagger Editor, the exception can still occur in K2.

Error Message:

The following error occurs:

“System.NullReferenceException object reference error”

Resolution

The fix is available in:

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.