How can I get an original video file by public ID without knowning the file extension?
I'm using the Cloudinary Java SDK to generate URL's for videos. I have the public ID of a video and I am trying to generate a URL to get that video without applying transformations. I'm running into trouble because I don't have the file extension of the uploaded video and I have strict transformations enabled. The URL the SDK generates does not work because without the file extension Cloudinary tries to apply a transformation (called "/"?) which strict transformations forbids and so the request fails.
Here's an example:
I have a video with public ID: 1022915676-1684940661
I'm using this code to generate a URL:
final var videoUrl = cloudinary.url() .resourceType("video") .generate(videoId);
When I GET that URL I receive a 401 back with the header:
x-cld-error: Transformation / is not allowed
Any help is appreciated. Thanks for reading!