Image-Flex icon indicating copy to clipboard operation
Image-Flex copied to clipboard

fix: Fixed issue where accessing an inexistent file returned 503

Open LeandroDG opened this issue 3 years ago • 0 comments

When file doesn't exist and S3 returns 403 in consequence, GetOrCreate lambda returns an error (cannot find method "replace" of undefined) and it causes a 503 Bad Gateway response.

This is because it tries to read from "sourceImage" which comes from querystring but querystring is actually undefined.

LeandroDG avatar Dec 13 '21 23:12 LeandroDG