help: how to fetch exception with malicious asynch calls?
Posted: Fri Jan 24, 2020 9:14 am
Hi there SAP fans,
one of my partners wants to use the asynchron protocol. Of course the regular workflow of an optimization call returns a proper result with a HTTP-200 status code.
The asynch process requires a user to call the fetchXXX-operation once the status of a Job is SUCCEEDED or FAILED.
Of course he also wants to implement the malicious path which is supposed to tell the user about the cause of an issue. Now here's the problem (not even sure whether this only occurs in the asynch case):
Looks like SAP environment does not retrieve the body if the HTTP 500 is raised. Anyone here who can help? At least return some feedback? I have no sufficient knowledge about SAP to deal with it's strength and weaknesses
Best regards,
Bernd
one of my partners wants to use the asynchron protocol. Of course the regular workflow of an optimization call returns a proper result with a HTTP-200 status code.
The asynch process requires a user to call the fetchXXX-operation once the status of a Job is SUCCEEDED or FAILED.
Of course he also wants to implement the malicious path which is supposed to tell the user about the cause of an issue. Now here's the problem (not even sure whether this only occurs in the asynch case):
Looks like SAP environment does not retrieve the body if the HTTP 500 is raised. Anyone here who can help? At least return some feedback? I have no sufficient knowledge about SAP to deal with it's strength and weaknesses
Best regards,
Bernd