Skip to content

Get workflow request : the port number is invalid #4519

@AlbertoVillanuevaDV

Description

@AlbertoVillanuevaDV

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}"
  }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions