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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
For adding a new list item to Alexa's internal shopping list, i use the following code:
If i try the execution with the code above i get the following error: message: 1 validation error detected: Value 'ACTIVE' at 'item.status' failed to satisfy constraint: Member must satisfy enum value set: [active, completed]
I do not see anything wrong with my code to create a list item. Therefore i guess there is a bug in the alexa skills kit sdk for java.
Expected Behavior
A new item with the value "test value" and the status "ACTIVE" should be added to the alexa list (with id = listID) of the user.
Current Behavior
Currently the skills kit returns a validation error, because the item.status with the value "ACTIVE" is not in the enum value set of [active, completed]. Therefore the list item is not created.
I found no other way i could add a list item to e.g. the alexa shopping list or the to-do-list with the java sdk. If there is another, i am fine with that, but would like to get some documentation on it.
Your Environment
ASK Java SDK version used: 2.3.0
Operating System and version:
Java Info
Java version used for development: Java 8
The text was updated successfully, but these errors were encountered:
From what I understand, the problem isn't how you are adding an item to a list, but rather with how you set up the DynamoDB table. When you write the AttributeDefinitions for an Attribute, you only should give an AttributeDefinition to primary key Attributes. So somewhere in your code you might be assigning an attribute definition to a non-primary key attribute.
thanks for your feedback. The bug is fixed with version 2.3.1, as @breedloj stated.
The forum link provided by @allusai is a completely different topic. I am not using any DynamoDB table, i just want to add an item to the shopping list of the customer.
I'm submitting a...
For adding a new list item to Alexa's internal shopping list, i use the following code:
If i try the execution with the code above i get the following error:
message: 1 validation error detected: Value 'ACTIVE' at 'item.status' failed to satisfy constraint: Member must satisfy enum value set: [active, completed]
I do not see anything wrong with my code to create a list item. Therefore i guess there is a bug in the alexa skills kit sdk for java.
Expected Behavior
A new item with the value "test value" and the status "ACTIVE" should be added to the alexa list (with id = listID) of the user.
Current Behavior
Currently the skills kit returns a validation error, because the item.status with the value "ACTIVE" is not in the enum value set of [active, completed]. Therefore the list item is not created.
Steps to Reproduce (for bugs)
Possible Solution
Context
I found no other way i could add a list item to e.g. the alexa shopping list or the to-do-list with the java sdk. If there is another, i am fine with that, but would like to get some documentation on it.
Your Environment
Java Info
The text was updated successfully, but these errors were encountered: