I have requirement where in I need to share the URL generated from snowflake to end user so that the user can download the images.
The issue here is when I use the presigned URL, the validity I get for the URL is 1 hour max. If it try to increase it, it gives me the below error.
GET_PRESIGNED_URL expiry in seconds for AWS role is invalid. Must be between 0 and 3,600.
If I try to use the BuILD_SCOPE_URL, from snowsight I am able to download the files but when I use it in a new browser tab, it reports the below error.
{ "code" : "391902", "message" : "Unsupported Accept header text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 is specified. Result set format must be JSON." }
How can I generate the URL's from Snowflake and share it to end user?