Skip to content

JPEG Image Error #518

Closed
Closed
@emrealparslan93

Description

@emrealparslan93

Describe the bug
Some of JPEG images are not accepted for no reason?
To Reproduce

  1. Go to link: https://media.finedinemenu.com/lQjTakxVFI/9b415611-c1d7-4e81-afc9-46845757abf4.jpeg
  2. You will see the error below:
    {"status":500,"code":"RequestTypeError","message":"The file does not have an extension and the file type could not be inferred. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg). Refer to the documentation for additional guidance on forming image requests."}

Expected behavior
Serverless Image Handler should be able to show the JPEG formatted image.

Please complete the following information about the solution:

  • Version: 6.2.3
  • Region: us-east-1
  • Was the solution modified from the version published on this repository? No
  • If the answer to the previous question was yes, are the changes available on GitHub? -
  • Have you checked your service quotas for the sevices this solution uses? Yes
  • Were there any errors in the CloudWatch Logs?
    2023-11-13T10:21:56.030Z d6a5bd10-5dae-486d-bb6a-5517cb59773a ERROR ImageHandlerError: The file does not have an extension and the file type could not be inferred. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg). Refer to the documentation for additional guidance on forming image requests. at _ImageRequest.getOriginalImage (/var/task/index.js:39154:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async _ImageRequest.setup (/var/task/index.js:39101:29) at async Runtime.handler (/var/task/index.js:39476:30) { status: 500, code: 'RequestTypeError' }

Additional context
Original File:
9b415611-c1d7-4e81-afc9-46845757abf4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions