cloudinary_gem icon indicating copy to clipboard operation
cloudinary_gem copied to clipboard

preview:duration effect was shortened to preview:du when uploading a video

Open saipraveen18 opened this issue 2 years ago • 1 comments

Bug report for Cloudinary Ruby SDK

v1.28.0

Describe the bug in a sentence or two.

Issue - preview:duration effect was shortened to preview:du when uploading a video using Cloudinary::Uploader.upload

Error - CloudinaryException: Eager Invalid effect in transformation: du_15.0

Issue Type (Can be multiple)

  • [ ] Build - Cannot install or import the SDK
  • [ ] Performance - Performance issues
  • [ ] Behaviour - Functions are not working as expected (such as generate URL)
  • [ ] Documentation - Inconsistency between the docs and behaviour
  • [ ] Other (Specify)

Steps to reproduce

Error screenshots or Stack Trace (if applicable)

Operating System

  • [ ] Linux
  • [ ] Windows
  • [ ] macOS
  • [ ] All

Environment and Libraries (fill in the version numbers)

  • Cloudinary Ruby SDK version - 1.28.0
  • Ruby Version - 3.2.1
  • Rails Version - 6.1.7.4
  • Other Libraries (Carrierwave, ActiveStorage, etc) - 6.1.7.4

Repository

If possible, please provide a link to a reproducible repository that showcases the problem

saipraveen18 avatar Dec 01 '23 21:12 saipraveen18

Hi, I see you already opened a ticket with support. This has to do with improper formatting of your upload request resulting in the the resource type being set as raw instead of video and does not appear to be a bug.

PixelCook avatar Dec 01 '23 23:12 PixelCook