logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

Logic App Standard - HTTP Action fail when adding query

Open yoHasse opened this issue 3 years ago • 0 comments

When adding a query to an HTTP Action that should trigger another logic app having HTTP trigger the workflow fails.

If I remove the queries it works without any problem.

The query is a simple string having: name: filename value: test

I get the following errors:

{
  "error": {
    "code": "MissingApiVersionParameter",
    "message": "The api-version query parameter (?api-version=) is required for all requests."
  }
}

After adding the api-version (which already exists in the URI)

{
  "error": {
    "code": "DirectApiAuthorizationRequired",
    "message": "The request must be authenticated only by Shared Access scheme."
  }
}

Http raw input (changed base url and token for security reasons)

{
    "uri": "https://prod-33.westeurope.logic.azure.com:443/workflows/<workflowId>/triggers/manual/paths/invoke?api-version=2017-07-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=y-<token>",
    "method": "POST",
    "queries": {
        "filename": "test"
    }
}

yoHasse avatar Sep 23 '22 08:09 yoHasse