Http Request activity is providing status 200 with empty response

Hello

Need suggestion on Http Request activity. I am using HTTP request activity with API key and username and password. When I provide the details on POSTMAN, I am getting the below response with status 200.

when I use HTTP request activity in UiPath, the status is 200 but response content is null as shown below,

{“isArchived”:null,“message”:“”}

Can anyone please suggest any solution here?

@mala.manjunath

ideally the response is not controlled in UiPath…can you check the exact same request with same body and details

may be if already archived and if we try it would respond with null

cheers

Can you please clarify as where I need to check the exact same request with same body and details?

@mala.manjunath

what did you use in postman and UiPath should be same

cheers

@mala.manjunath , need more info.

  • Which HTTP verb is used in Postman?
  • Do you need to pass any params?
  • If you debug the req in HTTP req, does it look exactly as in the Postman req?

yes on UiPath and postman on both it’s same.

yes paramaters I have passed. and HTTP verbs are also same

Hi @mala.manjunath

Postman generates some Headers automatically. In UiPath you need to specify what needs to be sent.

In addition to checking your headers, see how your JSON standard is doing, in Postman you need to use the quotation marks (“) and in UiPath you need to send according to what your destination needs. (Some destinations accept that the quotation marks (”) are replaced by single quotes (').

Please refer below thread which is having more details