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 irpa_core.request.call(), 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!
Lam