I’m trying to write data to a DynamoDB Table but I get the error below. The data is passed from a previous node as string. The value I’m passing as a String is: 3597921734628.
I’ve tried .toString() - Does not work.
I’ve tried .toNumber().toString() - Does not work
I’ve tried “3597921734628” - Does work, but it writes it with the quotation marks.
I know this is a number but I’d like to store it as a String in DynamoDB as my “sku” field was created as a String.
Error: AWS error response [400]: One or more parameter values were invalid: Type mismatch for key sku expected: S actual: N at Object.awsApiRequest