< class="prominent-subhead ">

Code Fix: After an upgrade to K2 Five from K2 4.7, deployment of the package stops during deployment

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description

Using K2 Package and Deplyment, when you deploy a package that contains a K2 Legacy Workflow on a K2 Five environment, the deployment of the package stops during deployment with an error in the log file.

Error Message

The following error is presented in the log file: “GoalCancellationRequest Workflow: Data at the root level is invalid. Line 1, position 1.”


The Parameter settings for the specified workflows contains invalid characters or literal values instead of expressions causing a conversion failure which stops K2 Package and Deployment.


  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP21 from Regional Support.
  3. Ensure to close K2 Package and Deployment.
  4. Install the K2 Five RTM FP21 to apply the fix.
  5. The package should now deploy successfully.