Unable to upload long base64 url via API
Hi Community!
I'm unable to Upload my long base64 url via API.
How can I do so?
I even URL escaped it, but nothing Changed.
Answers
-
Hey @whoocoder .
Could you please raise a support ticket with us via https://support.cloudinary.com, including both your cloud name and the full base64 string you're trying to upload? We'll be able to take a look at our logs to figure out what's going on, but I suspect the URL is simply too long.
Does a smaller string work, such as this?
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC1klEQVR4nF2TTWiUVxSGn3Pv/Wb8ZjKZMKSNCW2CsVQUTaEVqiDFLty1UKgBS6GtVipuVERxIYhu7B+0xaWIaFsXXRRB7c+imIUULQ0kixrEaSQpSJqYxJj55uf7ufe6mCqmZ3PO4X3PuzjnPcL/YvrHD18B3oHuk/keA0A8mwHz3wMXB969+NuzfHlSTHzxfkfhhcovpaHubR39Ia55B5csgc+BbxIEFRbvPU88m03U7i28vvHoheipwO0v3yt0ruudLAyWV5fX9BE/ugJewCnwgAfxHpOrUJtZSzQ1tbw8Te+mw+caBiDXE44VBsurV1VGiZcEJRrvwTsQDxoD3pPVa4SlMXL9QWccmTtAv1S/3bOt8urAjfKaPuKH1xCEqduerh6hqyyIVzyYcSQN6BtQ4AQ8PJgoktT1AYW4PYXnpokXroIVjIafzk9y6dO/McqgleaHM1Uun6sSaA1WwAmV/hiTz/YaXezc7eIqkAdAobkxUgXgYFwBeNofanXjXQklZUwIaSsdMs35fxBrsY1xfDRH0yk+3tU+X+v+GFg4+EEAQHNyHO+ABPAO91eAAUjnriPkMFZjxbNjl8JacC3ACVt2CGKFLAEjYB14p5ibMaipKzcJXIBKNM6CZEJaB9cQSARiIWso0oYgCbgYRIHUhNoSqPzGxmWAYlk4e9oRBrQXlbXFcAIWcJAT4atvEvzDtv9KLzbvqoENw9P130Nq/2Z8tE9zbH+GWxZCoxEriIVVXggz4bOvYz4ZzrUtLJ7erTuvC8CtIy/7oeEIuxihvXDieMLd+27Fj7z2kubo3jzegwiMjmje+G5eDMDor7PFZDGob94pZE3hxLE8WoERQVJIU8GmnjSBINceHhltFVc806nBYseb28Pa+g2OfJ/DWyD7D47bKYmEiXHFzzdbpc8no2iFwJO4sLX7raHN/ipAtNSGO7o8AH/c4u39fy5ce5b/GDvkMVvRxwClAAAAAElFTkSuQmCC
0 -
I got response from smaller string
0 -
Our logs for your cloud only show a truncated version of the base64 you're using, so if you're able to post it here in full, that would be helpful. I suspect it's either too long, or malformed, but we'll be able to confirm once you share it.
Many thanks,
-Danny
0