Hi there,
It sounds like your camera is taking pictures that are larger and of higher quality, so the size of the photo exceeds the 1024 KB/1MB file size limit for this API. Screenshots you have saved to your device would be smaller and lower quality, so they fit the size limit.
Are you able to turn your camera quality way down and see if that makes it possible to upload your image to this API?
Since you are uploading your image to Cloudinary using our Media DB component, you can get the resulting URL that points to the image and manipulate the URL to point to a smaller version of this image. So maybe the original 1000 * 2000 pixel image you took on your camera is too large to upload, but if you resized it to be 200 * 400 pixels it would fit the API’s size limits. (These are made up numbers, try different sizing options for yourself!)
You can read about resizing images in Cloudinary using URLs here.
As explained in this link, you only need to set one parameter, height or width, and the image will be scaled down automatically. This might be best to make sure you don’t distort your image.
So you could use blocks like this to resize your image before appending it to your Web API URL. Try different widths to see what works for you:
As I was writing this, it occurred to me that I have seen similar blocks advised in the Community relatively recently. If you are reading this and you wrote or saw another post that explained resizing images with Cloudinary URLs, let me know and I will link to the post as well!