DynamoDB query works on CLI but not in Lambda: “Value null at ‘key’ failed to satisfy constraint” On the CLI this works: