cancel
Showing results for 
Search instead for 
Did you mean: 

SCPI API Error Details

nairanoop
Explorer
0 Kudos

Hi All,

I was trying to get the error details, for the Failed integration execution via API.

MessageProcessingLogs, is not giving the detailed error information, same when I used MessageProcessingLogErrorInformations. Anyone has any success regarding this?

BR,

Anoop

Accepted Solutions (0)

Answers (2)

Answers (2)

Sriprasadsbhat
Active Contributor

Hello Anoop,

Association between message processing log to error information is not yet developed,thats the reason you will not be able to get the complete error details in single call.

1) First make the MessageProcessingLogs call to get error message details .

 https://<tmn>/api/v1/MessageProcessingLogs?$filter=Status eq 'FAILED'   

2) Make call to ErrorInformation with above retrieved MPL id to get the detailed error log( You can enrich the original message with Error Information ).

https://<tmn>/api/v1/MessageProcessingLogs('<Guid>')/ErrorInformation

Plain HTTP Call

https://<tmn>/api/v1/MessageProcessingLogs('<Guid>')/ErrorInformation/$value

More Details are available in below link.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/05fa2a8b31d14c11a4e72e833e5...

Regards,

Sriprasad Shivaram Bhat

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Anup,

Whether you were able to achieve the above requirement by following my suggestion?, if yes please do close the thread. If followed different approach please do share the same it would help community.

Regards,

Sriprasad Shivaram Bhat

nairanoop
Explorer
0 Kudos

Hi Sriprasad,

It didnt quiet worked how we wanted, and then my colleague found this thread :

https://blogs.sap.com/2019/10/14/receive-notifications-for-failed-sap-cloud-platform-integration-flo...

And seems like this works.