I'm quite new in Alexa programming and I'm encountering a strange error since a few hours.
Basically, I created an Alexa skill that is aimed to be used for a school project. I have a smart garden equipped with some sensors that return values (temperature, moisture, humidity, luminosity), populated on .csv file. There are also some cameras that are taking pictures of the garden.
Until now I had 4 different intents for each of the measurement types (and therefore 4 functions inside my lamba function), and 1 that returns the last taken pictures, using a display template (ListTemplate2). Everything worked as expected.
However, I decided to do some code optimization, and to use only one intent for all the measurements (the utterances were the same, just the type of measure differed) using custom slots, and I modified my code accordingly. But the use of slots has completely broke my second intent: when trying to invoke it, I just get the classic Alexa error response "There was a problem with the requested skill's response". Removing all the references to the first intent fixes the problem.
The slots have nothing to do with this intent in particular, and I haven't even touched the code it refers to. Did somebody ever faced a similar problem, or does somebody know how I can fix it ?