cagataygurturk/image-resizer-service

Unable to open image

Opened this issue · 0 comments

Hello, i try to test the resize lambda function but i get this error. i saw the latest issues, this bug is fixed normaly...
I user the serverlessrepo:semanticVersion is 0.1.3

When i call my api without parameters, i get well my image from my bucket, but when i pass the parameters, i have the error below.


2021-07-19T19:04:07.623Z	c706883e-3f1e-4c36-9e14-2b7cb29ce322	INFO	ERROR 500 null { Error: Command 
failed: convert: unable to open image /tmp/resized.arn:aws:s3:eu-west-
3:009894959642:accesspoint/accesspoint.img.mithila_1701_det1.jpeg.500.500: No such file or directory @ 
error/blob.c/OpenBlob/3497.

    at ChildProcess.<anonymous> (/var/task/index.js:1:4989)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:448:20)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Socket.EventEmitter.emit (domain.js:448:20)
    at Pipe._handle.close (net.js:607:12) timedOut: false, killed: false, code: 1, signal: null }

do you have an idea ?
thx