cancel
Showing results for 
Search instead for 
Did you mean: 

Error while calling APIs from Build Process Automation

amsb
Discoverer
0 Kudos
218

We are using Build Process Automation on BTP and downloaded the project Inactive Vendor Mark for Blockage or Deletion from the Store and trying to implement it. We have made the required configurations and created destinations, but facing error in Automation to Fetch Finance Document Details, while testing the automation: "Cannot read properties of undefined (reading '__count')".  Please suggest.

Gave input as below

SAPBasisAMS_1-1726755559431.png

SAPBasisAMS_2-1726755619621.png

Error:

{
    "uid": "bd0d2b28-30f1-4897-a408-c653f4289b40",
    "name": "Automation to Fetch Finance Document Details",
    "type": "automation",
    "instanceUid": "b6f019e3-582e-4393-ba6c-49d257822f1e",
    "packageUid": "5d081521-2d4e-4b5a-88eb-f589fbc396ef",
    "packageVersionUid": "b533a81e-af05-45fd-9896-82b8aac16acb",
    "attended": true,
    "duration": 3,
    "status": "Failed",
    "code": "KO",
    "label": "Cannot read properties of undefined (reading '__count')",
    "containerInstanceUid": "b6f019e3-582e-4393-ba6c-49d257822f1e",
    "parentInstanceUid": "8cdba4ef-3d44-28ad-9193-8c4005ccc152",
    "line": 2,
    "file": "bundle.js",
    "exception": "irpa_core.error.Error",
    "stack": "Error: Cannot read properties of undefined (reading '__count')\n    at e.error.cast (C:\\Users\\tbandaru\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\973e2db6-6d85-4b76-9646-22b67e2a275b\\dist\\bundle.js:2:208641)\n    at t.Job.start (C:\\Users\\tbandaru\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\973e2db6-6d85-4b76-9646-22b67e2a275b\\dist\\bundle.js:2:303965)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
}

 

 

 

 

 

 

View Entire Topic
FMarby
Product and Topic Expert
Product and Topic Expert
0 Kudos

Just wanted to check in since we haven’t heard back on this. Since there hasn’t been any activity we wanted to let you know this issue is no longer on our radar.

If you’re still looking for a solution, you might want to check out the SAP Builders or the Application Development Group in the community—it's a great place to connect with others and find helpful insights.