Images returning 400 from cloudinary.url()
Closed this issue · 3 comments
rpylipow commented
I'm receiving an error while trying to transform and fetch an image.
Failed to load resource: the server responded with a status of 400 (Bad Request)
What's strange is that most of my images work as expected while others do not. I'm passing each image url through the same code.
import * as cloudinary from 'cloudinary-core';
const cl = cloudinary.Cloudinary.new({ cloud_name: MY_CLOUD_NAME });
const image = cloudinary.url(SOME_IMAGE_URL, {
width: 120,
height: 120,
crop: 'fit',
quality: 'auto:best',
fetch_format: 'auto',
type: 'fetch',
});
It's likely that I'm making a dumb mistake, but the error message that I'm receiving isn't telling me much about what I'm doing wrong.
Any ideas?
mhoc commented
https://support.cloudinary.com/hc/en-us/articles/202520592-Do-you-have-a-file-size-limit-
If you're on the free plan, Cloudinary has a file size limit of 10MB. It looks like your first image is around 12MB.
rpylipow commented
You're so smart. Thanks.