Workflow Validation Error

Eqnx 0 Reputation points
2024-09-25T15:30:06.6333333+00:00

I recently added an azure function to my azure logic app but now i get this error:

Workflow validation failed for the workflow ''. {"error":{"code":"InvalidFunctionRoute","message":"The function '/subscriptions/XXXX-XXXX-XXXX-XXXXXXXX/resourceGroups/group/providers/Microsoft.Web/sites/emailtTOtxt/functions/http_trigger1' cannot be called from a logic app. It must not have a custom route."}}

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,953 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,113 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
582 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,721 questions
Azure Network Function Manager
Azure Network Function Manager
An Azure service used for deploying 5G and software-defined WAN network functions on edge devices.
2 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 46,086 Reputation points Microsoft Vendor
    2024-09-27T01:52:31.2366667+00:00

    @Eqnx

    I'm glad to hear you solve the problem, if you have any issue about Microsoft product, you are welcome to raise a ticket in this forum.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". So, I would make a brief summary of this thread:

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community members to see the useful information when reading this thread. Thanks for your understanding!

    [Workflow Validation Error]

    Issue Symptom:

    OP recently added an azure function to azure logic app but get this error:

    Workflow validation failed for the workflow ''. {"error":{"code":"InvalidFunctionRoute","message":"The function '/subscriptions/XXXX-XXXX-XXXX-XXXXXXXX/resourceGroups/group/providers/Microsoft.Web/sites/emailtTOtxt/functions/http_trigger1' cannot be called from a logic app. It must not have a custom route."}}

    Current status:

    OP decided to run on node js rather than python and it worked.

    0 comments No comments

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.