Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while invoking sample workflow app on AKS cluster #7702

Open
vvardhan14 opened this issue Apr 17, 2024 · 2 comments
Open

error while invoking sample workflow app on AKS cluster #7702

vvardhan14 opened this issue Apr 17, 2024 · 2 comments

Comments

@vvardhan14
Copy link

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

@yaron2
Copy link
Member

yaron2 commented May 6, 2024

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

@elena-kolevska
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants