Want to consume API service using UiPath

Thank you for sharing the video. I’ve viewed the videos and noticed you are not following the correct steps. Generating an access token is a three-step process, as outlined below. The first step must be completed in a web browser:

  1. Perform Authentication: Access detailed instructions at Perform Authentication.
  2. Receive Auth Code: For this step, visit Receive Auth Code.
  3. Generate Access Token: Finally, to generate the access token, refer to Generate Access Token.

The response you’re receiving is a valid HTML login page that should be accessed through a web browser. Additionally, please be aware that the swagger URL may not function for you, as it’s set up with a different redirect URL.

I recommend reviewing the documentation to better grasp the process.

I trust this information will be useful.