awslabs / awslabs/aws-lambda-redshift-loader

TypeError: Cannot read property 'N' of undefined

Open
#128 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
595
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have an issue I can't deal with. When I test the Lambda, the .csv is recognized and "batched" and the Redshift configuration is properly loaded, but after that, I have an error and the data is not put into Redshift.

Here's the error : http://puu.sh/wxhqv/72435c8469.png

```
TypeError: Cannot read property 'N' of undefined
at Response. (/var/task/index.js:614:112)
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:360:18)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:678:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:680:12)
```

Can anyone help me out here ? Thank you !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.