You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ X ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Expected Behavior
Current Behavior
Creating a new skill and using the code I allways use on other skills and cannot make the session attributes persist on dynamodb.
2022-04-11T14:20:07.845Z 03d7758b-fb01-4d7e-be9c-6bb921f340c7 INFO ~~~~ Error handled: AskSdk.DynamoDbPersistenceAdapter Error: Could not read item (amzn1.ask.account.AG2OPN...) from table (table_name): There were 227 validation errors:
* InvalidParameterType: Expected params.Key['id'] to be a structure
* UnexpectedParameter: Unexpected key '0' found in params.Key['id']
* UnexpectedParameter: Unexpected key '1' found in params.Key['id']
...
* UnexpectedParameter: Unexpected key '223' found in params.Key['id']
* UnexpectedParameter: Unexpected key '224' found in params.Key['id']
* InvalidParameterType: Expected params.getByIndex to be a string
at Object.createAskSdkError (/var/task/node_modules/ask-sdk-runtime/dist/util/AskSdkUtils.js:22:17)
at DynamoDbPersistenceAdapter.<anonymous> (/var/task/node_modules/ask-sdk-dynamodb-persistence-adapter/dist/attributes/persistence/DynamoDbPersistenceAdapter.js:123:46)
at step (/var/task/node_modules/ask-sdk-dynamodb-persistence-adapter/dist/attributes/persistence/DynamoDbPersistenceAdapter.js:45:23)
at Object.throw (/var/task/node_modules/ask-sdk-dynamodb-persistence-adapter/dist/attributes/persistence/DynamoDbPersistenceAdapter.js:26:53)
at rejected (/var/task/node_modules/ask-sdk-dynamodb-persistence-adapter/dist/attributes/persistence/DynamoDbPersistenceAdapter.js:18:65)
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
ASK SDK for Node.js used: v2
Operating System and version: Windows 10
Node.js and NPM Info
Node.js version used for development: 12.X
NPM version used for development:
The text was updated successfully, but these errors were encountered:
Is this issue/feature-request still relevant?
We are working on prioritization of relevant issues and cleanup of rest. If we don’t hear back in 2 weeks, we will assume that the issue is not relevant and we will close it.
I'm submitting a...
Expected Behavior
Current Behavior
Creating a new skill and using the code I allways use on other skills and cannot make the session attributes persist on dynamodb.
Relevant snippets from index.js:
Cloudwatch logs:
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Node.js and NPM Info
The text was updated successfully, but these errors were encountered: