Cloudinary upload returns 503 error on some photos

System Information
  • Strapi Version: 4.11.4
  • Operating System: mac os
  • Database: postgres
  • Node Version: 18.0.0
  • NPM Version: 8.6.0
  • Yarn Version:

I am uploading to the cloudinary using the strapi/provider-upload-cloudinary plugin(v4.11.5) in a web app using strapi.
However, when uploading, it returns a 503 error for only a few specific photos.
In local development mode all photos upload fine, but in deployed mode it returns 503 error when trying to upload certain photos. (I’ll attach the file that doesn’t work)
The common thing I’ve noticed about the pictures that don’t work is that the format is JPEG, but not all JPEG files are a problem. And I tried converting JPEG to PNG and uploading it, but it returns the same 503 error.