# Error while uploading a Photo from Photo Library using Cloudinary REST API

**URL:** <https://community.thunkable.com/t/error-while-uploading-a-photo-from-photo-library-using-cloudinary-rest-api/1252600>\
**Category:** Questions about Thunkable X\
**Created:** [April 29, 2021, 11:01am UTC](https://community.thunkable.com/t/error-while-uploading-a-photo-from-photo-library-using-cloudinary-rest-api/1252600 "2021-04-29T11:01:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)\
**Post date:** [April 29, 2021, 11:01am UTC](https://community.thunkable.com/t/error-while-uploading-a-photo-from-photo-library-using-cloudinary-rest-api/1252600/1 "2021-04-29T11:01:53Z")

</div>

Hi!

I am uploading an image picked from the Photo Library component to my Cloudinary account using REST API, but I get an error, since Cloudinary doesn’t support “file:///” files. However it does support the uploading from a local path.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/e/8ee88ece8df081f39d60d8307484a13a90110b0d.png)

I hope that there is a way to doing that as the Media\_DB upload block accepts the Photo parameter from the Photo Library, but I don’t want to use that.

My blocks:

 ![Screenshot 2021-04-29 at 12.55.57](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f8f2529931cdae7d85dd04c3c16351e12a4e7d2.png)

The error message:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0a6ab555d3a158a5c58ffbb4ee05881b0cf9df5d.jpeg)

---

<div class="post-metadata">

**Author:** ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)\
**Post date:** [April 29, 2021, 11:14am UTC](https://community.thunkable.com/t/error-while-uploading-a-photo-from-photo-library-using-cloudinary-rest-api/1252600/2 "2021-04-29T11:14:59Z")

</div>

I think I am getting this message as I am not using the SDK itself, but could you recommend some ways to convert the picked file to a format that can be uploaded?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/error-while-uploading-a-photo-from-photo-library-using-cloudinary-rest-api/1252600/4 "2024-11-08T13:22:51Z")

</div>


