Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Bot Extensibility
Unanswered

Error while importing ToDo skill

(0) ShareShare
ReportReport
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
    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
    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
    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
    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
    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
    26 on at
    Re: Error while importing ToDo skill

    Anyone that could help on this topic, please?

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics