Transforming files to base 64

Description

Hello,

Can anyone help me, please?

I am facing a problem.
I’m transforming files to base 64, however, when making queries via API, the following error appears: “HTTP Request: Invalid URI: The Uri string is too long.” and then the API query doesn’t work. Does anyone have any solution?

Grateful.

Link

Date

2024-09-19

Related UiPath products

Automation Cloud

Hi @gmartinelli

Use Post Method while sending the data to API request. In This one you can see Base64 conversion.

Unlock the Power of Gemini API with UiPath | Step-by-Step Automation Guide - Learn / Video Tutorials - UiPath Community Forum

Hope this helps :slight_smile:

@gmartinelli

Dependin gon api we either send in body or as attchment …how are you doing in postman?

Cheers

Good morning!

I performed the test in Postman and it works normally, only in UiPath that I am facing problems, because the String is too big.