cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Trigger Failed - The template language function 'ListCallbackUrl' is not supported

Hi,

 

I've created a connector with a webHook trigger, when I try to use it in a flow I get the following error:

 

Unable to process template language expressions for trigger 'Document_Uploaded' at line '1' and column '5077': 'The template language function 'ListCallbackUrl' is not supported by triggers of type 'ApiConnection'.'.

 

Can you help me? In attachment the screenshots.

InvalidTemplate.png3.png4.png5.png6.png7.png8.png9.png10.png

Regards,

Nico

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi NicoAlbano,

 

What your current situation? Are you still having the issue now?


From the error message, it seems that you swagger file has something that is not supported.


Could you check the Swagger file on your side?


If possible, please share the swagger file for a further investigation.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

You can find the swagger below:

 

{
"swagger":"2.0",
"info":{
"version":"B2B_v1",
"title":"MyApp API B2B V1"
},
"host":"devapi.example.com",
"schemes":[
"https"
],
"paths":{
"/apiB2B/Hooks/Subscribe":{
"put":{
"tags":[
"HooksB2B"
],
"summary":"Subscribe to a webhook",
"description":"Subscribe to a webhook; if already existing update it",
"operationId":"HooksB2B_SubscribeHook",
"consumes":[
"application/json",
"text/json"
],
"produces":[
"application/json",
"text/json"
],
"parameters":[
{
"name":"model",
"in":"body",
"required":true,
"schema":{
"$ref":"#/definitions/SubscribeHookDTO"
}
}
],
"responses":{
"200":{
"description":"OK",
"schema":{
"$ref":"#/definitions/SubscribeHook"
}
}
},
"deprecated":false
}
},
"/apiB2B/Hooks/Unsubscribe":{
"delete":{
"tags":[
"HooksB2B"
],
"summary":"Unsubscribe from a webhook",
"description":"Unsubscribe from a webhook",
"operationId":"HooksB2B_UnsubscribeHook",
"consumes":[
"application/json",
"text/json"
],
"produces":[
"application/json",
"text/json"
],
"parameters":[
{
"name":"model",
"in":"body",
"required":true,
"schema":{
"$ref":"#/definitions/UnsubscribeHookDTO"
}
}
],
"responses":{
"200":{
"description":"OK",
"schema":{
"$ref":"#/definitions/Object"
}
}
},
"deprecated":false
}
},
"/apiB2B/Hooks/Test":{
"post":{
"tags":[
"HooksB2B"
],
"summary":"Send a test request to a WebHook",
"description":"Send a test request to a WebHook",
"operationId":"HooksB2B_TestHook",
"consumes":[
"application/json",
"text/json"
],
"produces":[
"application/json",
"text/json"
],
"parameters":[
{
"name":"model",
"in":"body",
"required":true,
"schema":{
"$ref":"#/definitions/TestHookDTO"
}
}
],
"responses":{
"200":{
"description":"OK",
"schema":{
"$ref":"#/definitions/Object"
}
}
},
"deprecated":false
}
}
},
"definitions":{"SubscribeHookDTO":{
"required":[
"target_url",
"event"
],
"type":"object",
"properties":{
"target_url":{
"description":"Webhook Target Endpoint",
"type":"string"
},
"event":{
"description":"Webhook Event Name\r\n document_accepted<br />\r\n document_uploaded<br />\r\n document_rejected<br />\r\n document_irrelevant<br />\r\n application_status_updated<br />\r\n application_created<br />\r\n document_comment<br /> \r\n application_note_created<br /> \r\n application_note_updated<br /> \r\n application_note_removed<br />",
"type":"string"
}
}
},
"SubscribeHook":{
"required":[
"hook_event"
],
"type":"object",
"properties":{
"hook_event":{
"type":"string"
}
}
},
"UnsubscribeHookDTO":{
"required":[
"hook_event"
],
"type":"object",
"properties":{
"hook_event":{
"description":"Webhook Event Name\r\n document_accepted<br />\r\n document_uploaded<br />\r\n document_rejected<br />\r\n document_irrelevant<br />\r\n application_status_updated<br />\r\n application_created<br />\r\n document_comment<br /> \r\n application_note_created<br /> \r\n application_note_updated<br /> \r\n application_note_removed<br />",
"type":"string"
}
}
},
"TestHookDTO":{
"required":[
"target_url",
"webhookKind"
],
"type":"object",
"properties":{
"target_url":{
"description":"Webhook Target Endpoint",
"type":"string"
},
"webhookKind":{
"description":"Webhook Event Name\r\n document_accepted<br />\r\n document_uploaded<br />\r\n document_rejected<br />\r\n document_irrelevant<br />\r\n application_status_updated<br />\r\n application_created<br />\r\n document_comment<br /> \r\n application_note_created<br /> \r\n application_note_updated<br /> \r\n application_note_removed<br />",
"type":"string"
}
}
}
}
}

Hi @Anonymous, thanks for reporting this issue. I have started to look into this. I'll get back either with a solution or request for more information. Please stay tuned.

Hi @Anonymous,

 

What’s your current situation? Are you still hitting the issue.

 

It seem that you have already got away from the problem.

 

Please let us know if you need more help.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,386)