Problem with Lambda mutation

Ok as i said i got it to work with insomnia but when its inside the Lambda function it returns this

{ errors: [ { message: 'must be defined', path: [Array] } ] }

So i think there is something wrong with the lambda function but i cant figure out what it is.