Invalid URI: The Uri string is too long

Hi all,
I am sending the base64 image… it shows the error
can anyone help!!
Invalid URI: The Uri string is too long.

I have used the below image

Something is wrong with your BASE64 string then. Can you please attach the base64 you are using to this post?

Hi,
I can’t able to attach the base64 value in the comments… since it is too long, so i am attaching the URL where i have generated the base 64 value

https://www.browserling.com/tools/image-to-base64

image :

This is the string we get from the base64 converter:

iVBORw0KGgoAAAANSUhEUgAAAhwAAAIcCAIAAAAynOArAAH...

The problem is that it is missing the base64 header information:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAA...

Once you add that to the string all works fine:

Hi,
As you mentioned … i have used the base 64 string as
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAA…
But, still i am getting the same error …
Invalid URI: The Uri string is too long.
And also i need to mention the point …
i am parsing the base64 in the URL to the below mentioned API.
https://api.ocr.space/parse/imageurl?apikey=helloworld&url=http://i.imgur.com/s1JZUnd.gif&language=chs&isOverlayRequired=true
According to the documentationCapture7

But, In the below image … you are parsing the base64 string TO the base64 input …can you please specify, in which API you are the base64 input.
Capture6

Hi Admin,
Can you give me the solution ASAP!
As we are planning to implement in our project!