"Could not publish SmartObject Definition to server: Authorization Failed" error appears during deployment
KBS100077
PRODUCTIssue
You may see the following error when deploying your K2 Package:
Symptoms
The issue can occur at the beginning of the deployment, and it will not proceed any further.
You may see this full error message in the Hostserver log files:
"Could not publish SmartObject Definition to server: Authorization Failed. SmartObject: [SmartObjectName] System.Exception: Could not publish SmartObject Definition to server: Authorization Failed. SmartObject: [SmartObjectName]
---> System.Exception: Could not publish SmartObject Definition to server: Authorization Failed. SmartObject: [SmartObjectName]"
Resolution
This issue is caused by not having sufficient SmartObject rights.
To change these rights please navigate to the following areas:
- K2 Workspace > Management Console > SmartObjects > Security.
- K2 Workspace > Management Console > Smartbox > Security
Make sure the Admin and Service accounts have the relevant rights.
- Please make sure the account deploying the solution has Publish SmartObject and Delete SmartObject rights on the Development Server.