Skip to content

getting 400 response when trying to pause an activity #3186

@javi1818

Description

@javi1818

Describe the bug
When I try to pause an activity by pressing the pause button in the event history, I get a Bad Request pop up.

When I inspect the request this is the URL that failing:
/api/v1/namespaces/default/activities/pause?

Request Payload:
{
"execution": {
"workflowId": "slack_playground",
"runId": "019c9199-3611-70fc-9a29-393647fc1780"
},
"reason": "",
"id": "5",
"identity": "webui"
}

Response:
{
"code": 3,
"message": "temporalproto: (line 1:2): unknown field "execution""
}

To Reproduce
Steps to reproduce the behavior:

  1. Start a workflow with an activity that will fail.
  2. Server will retry and while it is waiting to retry again, click pause button in event history

Expected behavior
It should pause the activity like it did before.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser Safari
  • Version Temporal UI 2.46.0

Additional context
I upgraded the UI version from 2.43.3 to 2.46.0 when I started experiencing this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions