How to Retrieve Base64 Encoded Screenshot from Storage Bucket in text file as Output Argument in Postman?

Hi UiPath Community,

In my current project, I’m passing a screenshot, converting it to a Base64 string, and storing it as a text file in a Storage Bucket. I want to retrieve this text file in an Output Argument and send it back through Postman.

Could anyone guide me on how to:

  1. Retrieve the Base64 string from the text file stored in the Storage Bucket.
  2. Return this file as an Output Argument in Postman.

@gayatri.kesalkar

  1. Download file Activities - Download Storage File
  2. Then read text file
  3. Use the output of read text in http

Cheers

Hello @Anil_G ,

Thanks for responding.

I am taking a screenshot and converting that in Base64 string is too long to include in the output, so I saved it as a text file in a storage bucket. ​As I am getting

"Exception: Output Arguments too large at 1049 kilobytes. The limit is 1024. Try using storage buckets to handle large data."​

​basically, I am not able to base64 string of Screenshot in orchestrator
​How can I retrieve this text file using Postman? As an output argument?

@gayatri.kesalkar

where are you getting this error?

what step are you performing?

If you want to access the storage bucket from postman you have orchestrator api

you might first need to create an external app and then connect to api

cheers

On orchestrator getting this error.

Steps:
In my application, I have a login page. I pass the login ID and password as an input argument through Postman. After that, I take a screenshot of the web page and get its Base64 string in the console output. Due to an error, I store the string in a text file using a storage bucket. Now, I want to get that string as an output argument. How can I retrieve the text file as output? Is there another way to do this?

@gayatri.kesalkar

What is the activity it is failing on?

You want it as output argument for process?..what is the end goal of it

Cheers