AnsweredAssumed Answered

AWI 12.0.2 Rest API Workflow Execution Error

Question asked by Stalin_Petronius_6792 on Jan 31, 2018
Latest reply on Feb 2, 2018 by Stalin_Petronius_6792

We are trying to leverage the REST API for basic services like creating package, run an execution etc.  We are able to get response for all GET request and we are able to create PACKAGES using API.
When we try to execute a workflow (https://domain/api/data/v1/executions) with the following request:
{
"application": {
"name": "App"
},
"workflow": {
"name": "Deploy"
},
"package": {
"name": "0.0.12"
},
"deployment_profile": {
"name": "DEV_Profile"
},
"needs_manual_start": false,
"manual_confirmer": "",
"planned_from": "",
"install_mode": "SkipExisting"
}
we get a response
{
"code": 100001,
"error": "The User or Usergroup with Id # cannot be loaded",
"details": ""
}

Note: the same user credentials are used across all requests, only "executions" fail with this error.  the deployment_profile does not have anything custom, it works fine when you execute the workflow from within AWI 

Outcomes