Skip to content

Saving parent workflow fails with misleading error if child workflow has validation issues #781

@abatishchev

Description

@abatishchev

Describe the Bug with repro steps

  1. Create a new wf - Child1
  2. Create another wf - Parent1
  3. Add action Invoke Workflow, specify to call Child1
  4. Deploy using MSDeploy an incorrect code to Child1, e.g. incorrect parameter
  5. Attempt to save Parent1
  6. Observe a misleading error:
{
  "code": "NestedWorkflowNotFound",
  "message": "The child workflow 'Child1' could not be found in the logic app. Both the parent workflow 'Parent1' and the child workflow 'Child1' must exist in the same logic app."
}
  1. Attempt to save Child1, observe the actual error:
{
  "error": {
    "code": "ValueNotSupported",
    "message": "The trigger 'When_a_HTTP_request_is_received' at line '1' and column '1867' is not valid. The 'operationOptions' property value 'SuppressWorkflowHeaders, SuppressWorkflowHeadersOnResponse' is not supported. Only the 'EnableSchemaValidation, SuppressWorkflowHeadersOnResponse, IncludeAuthorizationHeadersInOutputs, PersistRequestContextForConcurrencyControl' operation options are supported for triggers of type 'Request'."
  }
}

What type of Logic App Is this happening in?

Standard (Portal)

Are you using Preview Designer or GA Designer

Preview

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Edge version 113.0.1774.35

Additional context

No response

AB#23589455

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions