You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @adirzo . Here are two points which I raised with Adrien about his uploads that helped in getting this to upload correctly. These were:
The data needs to be sent as application/x-www-form-urlencoded rather than form data. So with cURL you can use --data rather than -F
You need to URL escape your whole Base64 input string. Just as an example, the start of the Base64 string should be data%3Aimage%2Fpng%3Bbase64%2C rather than data:image/png;base64,, but you have to escape all of the Base64 which inlcudes +, = and / characters.
If you're performing these steps already and it isn't working for you then please provide a short code snippet of your upload code as well as an example Base64 String which you try to upload and we'll be able to take a look.
@asynctushar Uploading assets using the Base64 URI is supported, and we have received your query on the issue for your upload implementation (i.e., support ticket 201640). As the detail of the issue that you are experiencing may be localized to your implementation, we will continue to provide you with more information through the ticket.
Activity
aditimadan-Cloudinary commentedon Jan 9, 2019
Can you please raise a support ticket here: https://support.cloudinary.com/hc/en-us/requests/new with the base64 file you tried to upload and your cloud name and we will try and reproduce the issue.
adriendomoison commentedon Aug 24, 2019
I am having the same issue, any update on this?
aleksandar-cloudinary commentedon Aug 24, 2019
Hi @adriendomoison . I see you've submitted a ticket via our support centre about this and I've just responded on there.
adirzo commentedon Aug 28, 2019
same issue. anyone have solution? @aditimadan-Cloudinary @ankitvar22 @adriendomoison @aleksandar-cloudinary @ankitvar22
aleksandar-cloudinary commentedon Aug 28, 2019
Hi @adirzo . Here are two points which I raised with Adrien about his uploads that helped in getting this to upload correctly. These were:
The data needs to be sent as application/x-www-form-urlencoded rather than form data. So with cURL you can use --data rather than -F
You need to URL escape your whole Base64 input string. Just as an example, the start of the Base64 string should be data%3Aimage%2Fpng%3Bbase64%2C rather than data:image/png;base64,, but you have to escape all of the Base64 which inlcudes +, = and / characters.
If you're performing these steps already and it isn't working for you then please provide a short code snippet of your upload code as well as an example Base64 String which you try to upload and we'll be able to take a look.
asynctushar commentedon Sep 21, 2022
did you solve it yet? I have the same issue.
epasos573 commentedon Sep 21, 2022
@asynctushar Uploading assets using the Base64 URI is supported, and we have received your query on the issue for your upload implementation (i.e., support ticket 201640). As the detail of the issue that you are experiencing may be localized to your implementation, we will continue to provide you with more information through the ticket.