Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'L' of undefined #187

Open
singhrcode opened this issue Feb 26, 2019 · 2 comments
Open

TypeError: Cannot read property 'L' of undefined #187

singhrcode opened this issue Feb 26, 2019 · 2 comments

Comments

@singhrcode
Copy link

When i try load sample data provided then in cloudwatch logs i get this error


> 2019-02-26T04:39:34.746Z b57cd446-e3d7-47e9-95c7-3c2ff6bbbf16 Found Redshift Load Configuration for randy-lambda-loader/input
> 
> 15:39:34
> 2019-02-26T04:39:34.825Z b57cd446-e3d7-47e9-95c7-3c2ff6bbbf16 TypeError: Cannot read property 'L' of undefined at Object.exports.fixEncryptedItemEncoding (/var/task/upgrades.js:148:24) at /var/task/upgrades.js:238:11 at nextTask (/var/task/node_modules/async/dist/async.js:5324:14) at Object.waterfall (/var/task/node_modules/async/dist/async.js:5334:5) at Object.exports.upgradeA
> 2019-02-26T04:39:34.825Z b57cd446-e3d7-47e9-95c7-3c2ff6bbbf16 TypeError: Cannot read property 'L' of undefined
> at Object.exports.fixEncryptedItemEncoding (/var/task/upgrades.js:148:24)
> at /var/task/upgrades.js:238:11
> at nextTask (/var/task/node_modules/async/dist/async.js:5324:14)
> at Object.waterfall (/var/task/node_modules/async/dist/async.js:5334:5)
> at Object.exports.upgradeAll (/var/task/upgrades.js:242:8)
> at Object.exports.upgradeConfig (/var/task/index.js:180:21)
> at Object.exports.foundConfig (/var/task/index.js:202:17)
> at /var/task/index.js:1503:37
> at /var/task/index.js:162:13
> at /var/task/node_modules/async/dist/async.js:969:16
IanMeyers added a commit that referenced this issue Feb 26, 2019
fixing a bug in upgrades.js per #187
@singhrcode
Copy link
Author

Now i get another error

019-02-26T23:09:59.093Z d788204c-fbeb-4829-871e-352c792a9e6e TypeError: Cannot read property 'L' of undefined
at exports.loadRedshiftWithManifest (/var/task/index.js:829:52)
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:364: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:683: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:685:12)

@singhrcode
Copy link
Author

so many erros in files maxRetryMS is not defined in constant.js , ProvisionedThrough attribute need to be removed from common.js , in index.js pg.connect needs to converted intool pool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant