4 weeks ago
Dear SAP Community,
I am creation one Automation in SAP BPA.
i have created destination in BTP cockpit as bellow
then i have create Action project in SAP Build, Connectors. where i am able to test services and getting response with 200 status.
when trying to access this action from automation, i am getting "Unauthorized" error
Error Details:
{
"uid": "df13630b-ad7d-4fce-83a8-7c425b811908",
"name": "Get entities from StorageFacility_UnitDetails",
"type": "automation",
"instanceUid": "47e5a3ab-6507-4e70-8638-7ef157f82c1b",
"packageUid": "4c5bc1a4-5cde-4a6c-9ed7-a79c7aac7844",
"packageVersionUid": "168e29f3-b04c-460c-a9d5-d23cae68f7de",
"attended": true,
"duration": 2,
"status": "Failed",
"code": "KO",
"label": "Action execution resulted in 401 with response {\"error\":{\"code\":\"401\",\"message\":\"Unauthorized\"}}",
"parentInstanceUid": "aaaa1b90-174d-6ed7-97f6-2c542bd0ef56",
"containerInstanceUid": "47e5a3ab-6507-4e70-8638-7ef157f82c1b",
"line": 8,
"file": "temp_ah.js",
"stepId": "4",
"exception": "irpa_core.error.ActionRestExecutionError",
"errorParameters": {
"statusCode": 401,
"response": {
"error": {
"code": "401",
"message": "Unauthorized"
}
}
},
"stack": "Error: Action execution resulted in 401 with response {\"error\":{\"code\":\"401\",\"message\":\"Unauthorized\"}}\n at Object._doExecuteAction (C:\\Users\\arH\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\a0c39ed6-530a-4151-b2e0-9c9e668e8233\\dist\\bundle.js:2:112609)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.executeAction (C:\\Users\\arH\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\a0c39ed6-530a-4151-b2e0-9c9e668e8233\\dist\\bundle.js:2:111642)\n at async t.Job.47e5a3ab-6507-4e70-8638-7ef157f82c1b (C:\\Users\\arH\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\168e29f3-b04c-460c-a9d5-d23cae68f7de\\automations\\temp_ah.js:8:20)\n at async t.Job.start (C:\\Users\\arH\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\a0c39ed6-530a-4151-b2e0-9c9e668e8233\\dist\\bundle.js:2:313843)\n at async u.core.startJob (C:\\Users\\arH\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\a0c39ed6-530a-4151-b2e0-9c9e668e8233\\dist\\bundle.js:2:306950)"
}
Please help to find out the correct solution for this.
Best Regards,
Arti
Request clarification before answering.
User | Count |
---|---|
52 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.