Skip to main content
Nintex Community Menu Bar

Code Fix: An error occurs when you register a REST Service Instance with a “byte” Swagger type

  • February 16, 2021
  • 0 replies
  • 20 views
  • Translate

Anelle
Nintex Employee
Forum|alt.badge.img+11
 

Code Fix: An error occurs when you register a REST Service Instance with a “byte” Swagger type

KB003540

PRODUCT
K2 Five 5.3 to 5.4
K2 Five (5.3) April 2020 Cumulative Update
K2 Five (5.3) April 2020 Cumulative Update Fix Pack 7 to K2 Five (5.4) Fix Pack 1

 

Issue Description

When you register a REST Service Instance and the REST API contains a “byte” Swagger type, an error occurs.

Error Message

The following error occurs: “'System.Array' does not contain a definition for 'ToArray' and no extension method 'ToArray' accepting a first argument of type 'System.Array' could be found”.

Resolution

The fix is available in the following K2 versions:

K2 4.7 December 2019 Cumulative Update K2 Five (5.0) December 2019 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3) April 2020 Cumulative Update K2 Platform Classic (5.4)
X X X X Fix Pack 7 Fix Pack 1
  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.

 

Did this topic help you find an answer to your question?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings