Error Get Web Apps Hostruntime Workflow Trigger Uri

Alvaro AZ 0 Reputation points
2023-06-07T15:49:20.3366667+00:00

Hi,

I have an azure logic app data flow, in which its intended to send a daily email with sendgrid, with the total number of files uploaded the day before to a blobstorage container.

But I am getting the Get Web Apps Hostruntime Workflow Trigger Uri error, with the message

The 'ListCallbackUrl' API is not supported by triggers of type 'Recurrence'., and the error code ApiNotSupported.

The generated json is like a follow:

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Current_time": {
                "inputs": {},
                "kind": "CurrentTime",
                "runAfter": {
                    "List_all_blobs_using_path": [
                        "SUCCEEDED"
                    ]
                },
                "type": "Expression"
            },
            "Enviar_correo_electrónico_(V4)": {
                "inputs": {
                    "body": {
                        "from": "******@test.es",
                        "ishtml": true,
                        "subject": "Test",
                        "text": "The total of the wallets it´s @{variables('Count')}",
                        "to": "******@test.es"
                    },
                    "host": {
                        "connection": {
                            "referenceName": "sendgrid"
                        }
                    },
                    "method": "post",
                    "path": "/v4/mail/send"
                },
                "runAfter": {
                    "For_each": [
                        "SUCCEEDED"
                    ]
                },
                "type": "ApiConnection"
            },
            "For_each": {
                "actions": {
                    "Condition": {
                        "actions": {
                            "Increment_variable": {
                                "inputs": {
                                    "name": "Count",
                                    "value": 1
                                },
                                "type": "IncrementVariable"
                            }
                        },
                        "else": {
                            "actions": {}
                        },
                        "expression": {
                            "and": [
                                {
                                    "greater": [
                                        "@item('For_each')?['creationTime']",
                                        "@addDays(body('Current_time'),-1)"
                                    ]
                                }
                            ]
                        },
                        "type": "If"
                    }
                },
                "foreach": "@body('List_all_blobs_using_path')?['blobs']",
                "runAfter": {
                    "Current_time": [
                        "SUCCEEDED"
                    ]
                },
                "type": "Foreach"
            },
            "Initialize_variable": {
                "inputs": {
                    "variables": [
                        {
                            "name": "Count",
                            "type": "integer",
                            "value": 0
                        }
                    ]
                },
                "runAfter": {},
                "type": "InitializeVariable"
            },
            "List_all_blobs_using_path": {
                "inputs": {
                    "parameters": {
                        "containerName": "namecontainer"
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "AzureBlob",
                        "operationId": "listBlobs",
                        "serviceProviderId": "/serviceProviders/AzureBlob"
                    }
                },
                "runAfter": {
                    "Initialize_variable": [
                        "SUCCEEDED"
                    ]
                },
                "type": "ServiceProvider"
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "Recurrence": {
                "recurrence": {
                    "frequency": "Minute",
                    "interval": 3
                },
                "type": "Recurrence"
            }
        }
    },
    "kind": "Stateful"
}

And this is my workflow ...

This is the artifact For eachUser's image

User's image

User's image

Someone can help me?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,202 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,560 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alvaro AZ 0 Reputation points
    2023-06-08T16:36:15.7766667+00:00

    I found the issue.

    I created the logic app with a wrong template.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.