MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-MirrorMirrorOnTheWall error while configuring Alexa skill



  • Hi there i am stuck at Build Model.
    I followed the instruction step by step. I clicked on JSON Editor and cleared everything in there and Go to InteractionModel.json in the speechAssets folder, and copied everything in the file, and pasted it in JSON Editor and saved. but when is click on Build Model it gives me multiple error like

    Build Failed
    "Slot type “AMAZON.LITERAL” for slot “moduleName” in intent “TurnOffModuleIntent” is not valid. Error code: InvalidSlotTypeLiteral"

    Build Failed
    Slot type “AMAZON.LITERAL” for slot “searchTerm” in intent “ShowImagesIntent” is not valid. Error code: InvalidSlotTypeLiteral

    Build Failed
    Slot type “AMAZON.LITERAL” for slot “searchTermVideo” in intent “ShowVideoIntent” is not valid. Error code: InvalidSlotTypeLiteral

    Please help me solve this issue.
    All help will be greatly appreciated

    Thanks,
    Monil



  • @Monilshah I dont think you need to clear anything in that box just drag and drop the contents of speechAssets to it and that part will work.
    However you will find out that the actual module wont work without modifications that i have not been able to figure out how to make…some people have gotten it to work but the majority have not. I have configured face recognition and a bunch of other modules but this is the only one i have not been able to and it is exactly what i need
    Denis



  • @richland007 Thanks for replying.
    I drag and drop the contents of speechAssets to it and it still gives same error when i click on Build Model.



  • @monilshah Are you sure you have done the other steps correctly before the speechAssets part?



  • @richland007 Yes i a am sure.
    Here’s the steps i did
    Step 1 : On Alexa Developer i clicked on create skill
    Step 2 : Named the skilled, selected a Custom model and clicked on Create Skill
    Step 3 : Choose Start from scratch template
    Step 4 : Click on Invocation on the left menu bar. Set “magic mirror” as the invocation name (Save Model)
    Step 5 : Clicked on JSON editor, I drag and drop the contents of speechAssets to it.

    Lemme know if i had skipped any steps.
    I even tried to create a new skill following same steps but got the error at the same part…



  • @monilshah I just read this.

    " Important: AMAZON.LITERAL is deprecated as of October 22, 2018. Older skills built with AMAZON.LITERAL do continue to work, but you must migrate away from AMAZON.LITERAL when you update those older skills, and for all new skills."



  • @Robalot Hey thanks for the info.
    So that’s the reason i was getting all those errors.
    Someone will have to change InteractionModel.json file or else it wont work…
    now the biggest problem is I don’t know what to do next because i dont know how to code… 😞



  • @monilshah You are far away from having it work my friend even if you could tackle this new issue you ran across. We had not even heard about this before now but been working at it long before October 22.
    Check this two threads out and read them thoroughly from the beginning and maybe with some luck who knows what may happen…it didn’t happen for me… still going at it though 🙂

    https://forum.magicmirror.builders/topic/8569/mmm-mirrormirroronthewall-installation-issue/59

    and

    https://forum.magicmirror.builders/topic/1532/mmm-mirrormirroronthewall-alexa-voice-control-to-hide-show-modules-and-display-text-images/182?page=19

    Denis



  • @richland007 Will try to figure out a way to fix this new issue & will go through those threads. Thanks 🙂
    If anyone has already fixed then please share…



  • @Monilshah I am getting the same error while building the interaction model. If you figure out a way to create appropriate custom slots and succeed in building the model, please update !