GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PUT list of dicts · Issue #49 · totemstech/node-dynamodb

PUT list of dicts #49

New issue
Copy link
New issue
Copy link
Open
Open
PUT list of dicts#49
Copy link

Description

@Katafalkas
Katafalkas
opened on Nov 10, 2014
Issue body actions

Hey,

According to http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html it should be possible to PUT a list of dicts to data store. Currently it does not seem to work for me:

var item = { one: 'test2',
               two: 'Kapow',
               usr: 'spolu',
               lng: ['node', 'c++'],
               mew: [
                 {'foo': 'blue', 'w': 1, 't': 2},
                 {'foo': 'red', 'w': 11, 't': 22}
               ]
  };

ddb.putItem('foobar', item, {}, function(err, res, cap) {});

i get the error:

ERR { [Error: PutItem [400]: One or more parameter values were invalid: An number set  may not be empty]

  statusCode: 400,

  requestId: 'MUFRMIPBFI6VVAR1R408KLGS0RVV4KQNSO5AEMVJF66Q9ASUAAJG',

  code: 'ValidationException',

  data: 

   { __type: 'com.amazon.coral.validate#ValidationException',

     message: 'One or more parameter values were invalid: An number set  may not be empty' } }

This is duplicate question from google groups that I posted.

Activity

  1. spolu commented on Nov 10, 2014

    @spolu
    spolu
    on Nov 10, 2014
    More actions

    Hi @Katafalkas we're unfortunately not maintaining that repo currently. DynamoDB did change their APIs recently. Maybe you can issue a PR?

  2. ejames17 commented on Aug 20, 2015

    @ejames17
    ejames17
    on Aug 20, 2015
    More actions

    Hi @Katafalkas how did you resolve this issue? Im currently facing the same thing

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.