Describe the issue
The port is invalid so the request is invalid when a user tries to run it.
The docs show the port 3500 but the valid one is <dapr-http-port>.
URL of the docs
https://docs.dapr.io/reference/api/workflow_api/#get-workflow-request
Expected content
The port is correct.
Screenshots
Not needed.
Additional context
Invalid call
http://localhost:3500/v1.0-beta1/workflows/dapr/<instanceId>
Response:
This example shows an error in the response because the execution of the worflow failed.
Error invoking remote method 'send-http-request': Error: connect ECONNREFUSED 127.0.0.1:3500
Correct call
Call:
http://localhost:7257/v1.0-beta1/workflows/dapr/<instanceId>
Response:
{
"instanceID": "demo-workflow-de07cdc1",
"workflowName": "...",
"createdAt": "2025-02-10T16:49:56.153440Z",
"lastUpdatedAt": "2025-02-10T16:49:56.191719100Z",
"runtimeStatus": "COMPLETED",
"properties": {
"dapr.workflow.custom_status": "",
"dapr.workflow.input": "0",
"dapr.workflow.output": "{\"Changed\":true}"
}
}
Describe the issue
The port is invalid so the request is invalid when a user tries to run it.
The docs show the port
3500but the valid one is<dapr-http-port>.URL of the docs
https://docs.dapr.io/reference/api/workflow_api/#get-workflow-request
Expected content
The port is correct.
Screenshots
Not needed.
Additional context
Invalid call
http://localhost:3500/v1.0-beta1/workflows/dapr/<instanceId>Response:
This example shows an error in the response because the execution of the worflow failed.
Correct call
Call:
http://localhost:7257/v1.0-beta1/workflows/dapr/<instanceId>Response:
{ "instanceID": "demo-workflow-de07cdc1", "workflowName": "...", "createdAt": "2025-02-10T16:49:56.153440Z", "lastUpdatedAt": "2025-02-10T16:49:56.191719100Z", "runtimeStatus": "COMPLETED", "properties": { "dapr.workflow.custom_status": "", "dapr.workflow.input": "0", "dapr.workflow.output": "{\"Changed\":true}" } }