cancel
Showing results for 
Search instead for 
Did you mean: 

Error while making a web service call in IRPA.

AakashN24
Participant
0 Kudos

Hi All,

We have developed an SAP IRPA automation for making web service calls and automate a certain business process on CAP application, which is working perfectly, and we had some demos based on it.

But recently when we are trying to run those Automations, we are getting 'Bad Gateway' error when we try to make web service calls in the IRPA workflow, even when we try to replicate the sap web service call in the postman, we are getting the same error.

Details of one of the errors (this is one of many scenarios where we are getting the same Bad gateway error):

we are trying to make the following batch call of calling a function of a cap application, which was working fine from the application.

But when we try to do the same in the IRPA we are getting '502 Bad Gateway'

we Have also tried to do the same in the postman and send a request but, it's giving the same error as '502 Bad Gateway: Registered endpoint failed to handle the request'

We are unable to figure out what changed from before when it was working and why we are getting this error,

Can you please help.

chwostian
Participant
0 Kudos

Well if you're getting 502 error it is most likely it is a bad gateway but it doesn't have to be 100% sure but definitely your trials in postman say that indeed it might be the case. I don't know if that helps but you might want to try to have a look at this:

HowToGeek

AakashN24
Participant
0 Kudos

Hi,

Previously the Web service calls are working fine, we are Geeting errors when there are two https requests in the same batch call.

In the below request, we are having two requests in the same batch call, but in postman or irpa we can only make a single request at the same time.

Don't know how to handle this kind of batch requests.

Regards,

Aakash

Accepted Solutions (0)

Answers (1)

Answers (1)

masoomjajoo9229
Explorer
0 Kudos

I am facing the same issue but my POSTMAN seems to give a good result but IRPA just fails that too in production.

But this may help you - If you know we can see the logs in the BTP for what is going on inside the service.

Go to your BTP -> Subbaccount -> Spaces -> Your Space

You would be able to see list of service there click on your service and then click logs of left. May be it helps if its an issue from your service itself. Otherwise wait for the response from SAP.