function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stéphane C.Stéphane C. 

Lightning Component working in Sandbox and not in Production

Hi,

We are working on a Lightning Compoenent.

The Lightning Component is working in sandbox and is not working in production .

We are working on Files object. We want to get the Public Image URL of a file.

In sandbox, it's ok we can generate the Public Image URL : https://name--c.eu9.content.force.com/sfc/dist/version/renditionDownload?rendition=ORIGINAL_Jpeg&versionId=0680O000004JrEzQAK&operationContext=DELIVERY&contentId=0690O000004IO6eQAG&page=null&d=/a/0O000000EA1l/bd32wMVmrDm2dHCR_vNo72dedgCdswhUAIMqaqrmbVM&oid=00D9E0000004h7t&dpt=null&viewId=

In production, we have some strange generated ID like the contentID :
https://name--c.eu9.content.force.com/sfc/dist/version/renditionDownload?rendition=ORIGINAL_Jpeg&versionId=0680O000004JrEz&operationContext=DELIVERY&contentId=05T0O00000DWpwv&page=null&d=/a/0O000000EA1q/RsomOyKfQgT.Iml_NVPwKaQZfFlryA2uWlqup9bz5j8&oid=00D0O000000qnI9&dpt=null&viewId=

Is it normal a such behaviour between the sandbox and the porduction ?