Skip to main content

Notifications

Power Platform Community / Forums / Bot Extensibility / Error while importing ...
Bot Extensibility
Unanswered

Error while importing ToDo skill

Posted on by 26

Hello,

I'm trying to import a ToDo skill (previously created and used in a Virtual Assistant Template bot) but after the validation step I'm receiving a general error without any detail.

 

1) Your skill has been validated. You may now save.

2) Click @"Save"

3) Importing...

4) Something went wrong while importing your skill. Please try again later. Diagnostic Trace Id:

 

Above error is not mentioned here: https://docs.microsoft.com/en-us/power-virtual-agents/configuration-add-skills#troubleshooting-errors-during-skill-registration

 

How can I know what happen and what's wrong?

 

Alessandro.

  • Galasso Profile Picture
    Galasso 26 on at
    Re: Error while importing ToDo skill

    Oh. And isn't "array" a well defined one?

     

    Mmm... I'm puzzled because this means:

    1. ToDo skill cannot be used in PVA?
    2. Could it be used by PVA by doing some changes to the manifest? (But will this prevent the Skill to work correctly with a Botframework Bot already using it?).
    3. Error notification in Skill import tool for PVA should be improved to be more clear.
    4. Also documentation here needs to be updated.

     

    Thanks a lot for your answers!

     

    Alessandro.

  • Arafat Profile Picture
    Arafat 189 on at
    Re: Error while importing ToDo skill

    Hi @Galasso 

     

    Here's the issue.

     

    "type": "array", 

     

    PVA only expects well defined objects. 

     

    Cheers

    Arafat

  • Arafat Profile Picture
    Arafat 189 on at
    Re: Error while importing ToDo skill

    Hi @Galasso I appreciate your patience here. I will validate at my end now and get back to you hopefully soon. 

  • Galasso Profile Picture
    Galasso 26 on at
    Re: Error while importing ToDo skill

    Hi @ArafatTehsin ,

     

    following there is the manifest.

    It should be the default one, generated by the "Virtual Assistant and Skill Template" scripts.

     

    Alessandro.

     

     

    {
     "$schema": "https://schemas.botframework.com/schemas/skills/skill-manifest-2.0.0.json",
     "$id": "ToDoSkill",
     "name": "ToDo Skill",
     "description": "The ToDo skill provides task related capabilities and supports Office based tasks.",
     "publisherName": "Microsoft",
     "version": "1.0",
     "iconUrl": "https://todo-skill-xxx.azurewebsites.net/images/ToDoSkill.png",
     "copyright": "Copyright (c) Microsoft Corporation. All rights reserved.",
     "license": "",
     "privacyUrl": "https://todo-skill-xxx.azurewebsites.net/privacy.html",
     "tags": [
     "todo",
     "task",
     "skill"
     ],
     "endpoints": [
     {
     "name": "production",
     "protocol": "BotFrameworkV3",
     "description": "Production endpoint for the ToDo Skill",
     "endpointUrl": "https://todo-skill-xxx.azurewebsites.net/api/messages",
     "msAppId": "xxx"
     }
     ],
     "activities": {
     "message": {
     "type": "message",
     "description": "Receives the users utterance and attempts to resolve it using the skill's LU models"
     },
     "addToDo": {
     "description": "Add a ToDo task.",
     "type": "event",
     "name": "AddToDo",
     "value": {
     "$ref": "#/definitions/todoInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     },
     "deleteToDo": {
     "description": "Delete a ToDo task",
     "type": "event",
     "name": "DeleteToDo",
     "value": {
     "$ref": "#/definitions/todoInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     },
     "deleteAll": {
     "description": "Delete all tasks",
     "type": "event",
     "name": "DeleteAll",
     "value": {
     "$ref": "#/definitions/listInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     },
     "markToDo": {
     "description": "Mark a ToDo task as completed.",
     "type": "event",
     "name": "MarkToDo",
     "value": {
     "$ref": "#/definitions/todoInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     },
     "markAll": {
     "description": "Mark all tasks as completed",
     "type": "event",
     "name": "MarkAll",
     "value": {
     "$ref": "#/definitions/listInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     },
     "showToDo": {
     "description": "Show ToDo list.",
     "type": "event",
     "name": "ShowToDo",
     "value": {
     "$ref": "#/definitions/listInfo"
     },
     "resultValue": {
     "$ref": "#/definitions/todoListInfo"
     }
     }
     },
     "definitions": {
     "todoInfo": {
     "type": "object",
     "properties": {
     "listType": {
     "type": "string",
     "description": "List type: todo, shopping or grocery."
     },
     "taskName": {
     "type": "string",
     "description": "Task name."
     }
     }
     },
     "listInfo": {
     "type": "object",
     "properties": {
     "listType": {
     "type": "string",
     "description": "List type: todo, shopping or grocery."
     }
     }
     },
     "todoListInfo": {
     "type": "object",
     "properties": {
     "actionSuccess": {
     "type": "boolean",
     "description": "Result of action"
     },
     "todoList": {
     "type": "array",
     "description": "List of todo tasks",
     "items": {
     "type": "string"
     }
     }
     }
     }
     }
    }
  • Arafat Profile Picture
    Arafat 189 on at
    Re: Error while importing ToDo skill

    Hi @Galasso 

     

    I believe the manifest is the first thing anyone would love to see because of the nature of the error.

     

    Thanks

    Arafat

  • Galasso Profile Picture
    Galasso 26 on at
    Re: Error while importing ToDo skill

    Anyone that could help on this topic, please?

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics