This message was deleted.
# general
s
This message was deleted.
l
You are stringify’ing it so… try not doing that.
e
when i try this:
Copy code
const notificationTableItem = new aws.dynamodb.TableItem(
  "notificationTableItem",
  {
    tableName: notificationTable.name,
    hashKey: notificationTable.hashKey,
    item: obj as unknown as Input<string>,
  }
);
it gives me this error:
Copy code
error: aws:dynamodb/tableItem:TableItem resource 'notificationTableItem' has a problem: Attribute must be a single value, not a map. Examine values at 'TableItem.Item'.