An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.-(<class 'botocore.errorfactory.NoSuchKey'>, NoSuchKey('An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.'), <traceback object at 0x7efd84474dc0>)-None-Traceback (most recent call last):
  File "/var/task/lambda_function.py", line 86, in lambda_handler
    s3_file = get_img_from_s3(raw_object)
  File "/var/task/lambda_function.py", line 148, in get_img_from_s3
    obj_body = obj.get()['Body'].read()
  File "/var/task/boto3/resources/factory.py", line 581, in do_action
    response = action(self, *args, **kwargs)
  File "/var/task/boto3/resources/action.py", line 88, in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
  File "/var/task/botocore/client.py", line 602, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/var/task/botocore/context.py", line 123, in wrapper
    return func(*args, **kwargs)
  File "/var/task/botocore/client.py", line 1078, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchKey: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.
-{'Records': [{'cf': {'config': {'distributionDomainName': 'd3tm8jv7o5kwko.cloudfront.net', 'distributionId': 'EFWY0KN4R68O7', 'eventType': 'origin-response', 'requestId': '4_sJPIobyZJP3M-clLz_6J-jd2ijCuSQQrfjqp_iLS6gs1choDDO9g=='}, 'request': {'clientIp': '216.73.217.50', 'headers': {'x-forwarded-for': [{'key': 'X-Forwarded-For', 'value': '216.73.217.50'}], 'user-agent': [{'key': 'User-Agent', 'value': 'Amazon CloudFront'}], 'via': [{'key': 'Via', 'value': '2.0 4f21168cae2918a5941b1633a301e590.cloudfront.net (CloudFront)'}], 'accept-encoding': [{'key': 'Accept-Encoding', 'value': 'br,gzip'}], 'host': [{'key': 'Host', 'value': 'hwyc-dramabox-video-online.s3.ap-southeast-1.amazonaws.com'}]}, 'method': 'GET', 'origin': {'s3': {'authMethod': 'none', 'customHeaders': {}, 'domainName': 'hwyc-dramabox-video-online.s3.ap-southeast-1.amazonaws.com', 'path': '', 'readTimeout': 30}}, 'querystring': '', 'uri': '/30/9x3/93x5/935x8/93581000024/701151303_2/701151303.mp4.jpg@w=100&h=135'}, 'response': {'headers': {'x-amz-request-id': [{'key': 'x-amz-request-id', 'value': 'JP3V7ZVNWGNWP7EV'}], 'x-amz-id-2': [{'key': 'x-amz-id-2', 'value': 'iwufLQhrcXHw98kW6ldiIq7sOaq1CWt1mIy47LD2NIGwfxffnLmpucXhv15gGDGxC3C5g67LWyA='}], 'date': [{'key': 'Date', 'value': 'Tue, 22 Sep 2026 02:24:36 GMT'}], 'server': [{'key': 'Server', 'value': 'AmazonS3'}], 'content-type': [{'key': 'Content-Type', 'value': 'application/xml'}], 'transfer-encoding': [{'key': 'Transfer-Encoding', 'value': 'chunked'}]}, 'status': '200', 'statusDescription': 'Forbidden'}}}]}