azureazure-logic-appsazure-video-indexer

Video Indexer Logic App InvalidTemplate Error


I have created a Video Indexer with Logic Apps connector by following this Microsoft documentations bud in the Get Video Index I get this InvalidTemplate Error.

enter image description here


Solution

  • For this problem, it was caused by missing query when you request the url of logic app trigger. The expression triggerOutputs()['queries']['id'] mentioned in the document is used to get the id parameter in query of request. If you don't provide the id when you request the logic app trigger url, it will show this error message.

    To solve this issue, you need to request the logic app trigger url with id in its query. Just append &id=xxx to the url and request it in postman or browser.

    https://prod-21.eastasia.logic.azure.com:443/workflows/6bfa4xxxxxxxx&sig=0ziso_T8xxxxxxxVNAidP6tiC22M_hhQH0&id=xxx
    

    By the way, before request the url with &id=xxx, you need to set the trigger Method as Get. enter image description here