Skip to main content
Nintex Community Menu Bar

Code Fix: Error occurs when using URL with trailing character in Designer

  • June 5, 2026
  • 0 replies
  • 8 views

Forum|alt.badge.img+10

Issue Description

When you use this path “https:///Designer/k2workflow/api/category/category/?systemId=1&category='” which includes the trailing ‘ ' ‘ character, an “UnsafeXML” error will occur.

Error Message:

The following error occurs:

“Exception has been thrown by the target of an invocation.”

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.