Skip to content

Cannot read 'Items' of null #4

Description

@funmonty

Was trynna run the code. I had the AttributesToGet covered in my code. Still I am getting this error.

TypeError: Cannot read property 'Items' of null at Response.<anonymous> (node_modules/dyno-to-csv/lib/node-dyno-to-csv.js:23:25) at Request.<anonymous> (node_modules/aws-sdk/lib/request.js:364:18) at Request.callListeners (node_modules/aws-sdk/lib/sequential_executor.js:105:20)

I find the below code in your 23rd line of node-dyno-to-csv.js
if (typeof data.Items !== "undefined") { output = output.concat(data.Items); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions