I get an internal server error when I call a Lambda function via API Gateway using a stage variable.