dapr icon indicating copy to clipboard operation
dapr copied to clipboard

error while invoking sample workflow app on AKS cluster

Open vvardhan14 opened this issue 2 years ago • 2 comments

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community: https://aka.ms/dapr-discord Deploy % curl -X POST $DAPR_URL/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/1234/start
-H "Content-Type: application/json"
-d '{ "input" : {"Name": "Paperclips", "TotalCost": 99.95, "Quantity": 1}}' {"errorCode":"ERR_DIRECT_INVOKE","message":"failed getting app id either from the URL path or the header dapr-app-id"}%

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Ask your question here

vvardhan14 avatar Apr 17 '24 15:04 vvardhan14

Change the url to v1.0-beta1 instead of v1.0-alpha1

yaron2 avatar May 06 '24 22:05 yaron2

The API was updated to:

curl -i -X POST $DAPR_URL/v1.0-beta1/workflows/dapr/OrderProcessingWorkflow/start?instanceID=1234

Ref: https://docs.dapr.io/reference/api/workflow_api/#start-workflow-request.

I see the readme file of the aks repo was updated just a few days after your ticket, too.

elena-kolevska avatar May 23 '24 12:05 elena-kolevska

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

dapr-bot avatar Jul 22 '24 12:07 dapr-bot

This issue has been automatically closed because it has not had activity in the last 67 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

dapr-bot avatar Jul 29 '24 12:07 dapr-bot