Skip to Content
Apr 08, 2022 at 01:25 AM

IRPA 2.0 - Troubleshoot with API Call and Response Code 400 (Bad Request)

581 Views Last edit Apr 08, 2022 at 06:28 AM 4 rev

Hi all,

I am working on the IRPA, and I would to call SharePoint Online REST API.

The first step is get the access token, and now I can use Postman to make a call to got the access token.

But when do the same call with the same url & post data in IRPA 2.0, it always return Response Code 400 (Bad Request).



Surely, it may have many reason to got the Response Code 400, so that, I would like to get more error information from the response (header/ body) to get the hint to fix the issue.

However, when execute, and return Response Code 400, it directly throw error, so that, I cannot view the original response.

The original response should be something like this (this is an example with invalid body and called in Postman):


May I know how to get the original response even it return Response Code 400?

Or any other way to found the root cause?

Many thanks!



callapi.png (32.2 kB)
code400.png (40.3 kB)
pmcall.png (30.6 kB)