Closed LorenzNickel closed 5 years ago
Hey @BlockLabTV, we haven't support Proactive Events API in SDK thus throwing exception when trying to deserialize request to subscription event. We have feature request to add it. Please stay tuned. Thanks.
Hi @BlockLabTV , we’ve communicated your feedback to the team to make sure the work is tracked. Closing this issue. Feel free to reopen for any questions.
I'm submitting a...
Expected Behavior
As far as I understood if someone toggles notifications for my skill, my skill is triggered with the request-type "AlexaSkillEvent.ProactiveSubscriptionChanged" and I need the data provided here to send notifications to the user.
Current Behavior
After I added the necessary lines to my skill.json my skill is working fine, but I always get an error multiple times per request in CloudWatch (skill is hosted in AWS Lambda) and my skill does not seems to be triggered when notifications are enabled or disabled and I think the following error has something to do with this.
Steps to Reproduce (for bugs)
I'm trying to handle the event with the following class, it doesn't even change anything if I add this class or have it removed. I was also wondering what I should return.
Context
I'm not able to find out if users have notifications enabled and to get their userID and apiEndpoint (I'm not sure I should be able to find if notifications are enabled, but I need to access the id and endpoint). Also I want to get rid of having always this bug in my logs.
Your Environment
Java Info