You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick comment, I think I found the issue. The issue is that just source=uw is added to the signature when sources aren't specified manually in options. When I restricted it to just local as the source it works fine. I can't see a required source option documented anywhere, please correct me if I'm wrong.
i dont think that the sources are necessarily required in a general upload, however, the upload widget passes in a source as an upload parameter and the signature needs to match the parameters being sent on that request
as far as using cloudinary.utils.api_sign_request, what issue were you hitting with that?
Bug Report
Describe the bug
I'm getting an error "Invalid Signature ***. String to sign - 'source=uw×tamp=1709830648'" when attempting a signed upload with CldUploadWidget
Is this a regression?
No
Steps To Reproduce the error
Add NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME, NEXT_PUBLIC_CLOUDINARY_API_KEY, and NEXT_PUBLIC_CLOUDINARY_API_SECRET to .env.local
Add CldUploadWidget to a page in my application
Generate SHA signature in api route and return Response.json({ signature})
Attempt to upload image through upload widget
Expected behaviour
Image is uploaded to Cloudinary without error
CodeSandbox or Live Example of Bug
Screenshot or Video Recording
Your environment
Additional context
I've already tried:
The text was updated successfully, but these errors were encountered: