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.