Running Orchestration as an API Endpoint in DV and PY
In a previous question I asked if it was possible for an Orchestration to be submitted for execution in other environments and @Dave Wagoner suggested calling the Orchestration as an API endpoint in the DV and PY environments when running in PD.
I have tried this and for testing purposes my Orchestration checks the environment and when running in DV attempts to submit via a PY endpoint and when running in PD attempts to submit via both DV and PY endpoints. However, when I run in DV I am getting the following error:
{
"message": {
"ServiceRequest: SYS_CONN_RunOrchInPY": {
"statusCode": 401,
"error": "java.lang.Exception: External Generic Call Failed See Log For Details: 401 ",
"headers": {}
}
},
"exception": "Exception",
"timeStamp": "2026-07-16T12:16:02.807+0100",
"userDefinedErrorText": "",
"status": "ERROR",
"exceptionId": "222cefc1-1dcc-4046-a2c5-5af0f012fbf4"
}