TwentyT
Twenty6mo ago
13 replies
whitewhaleone

Workflows on workspaces failing

Hi,
I am self hosting v1.1.1 and I'm using multiple workspaces.
Workflows are working as expected on my primary workspace, but when I try to run a workflow on any other workspace I get the toast message in the UI 'An error occurred.' Looking at the db container logs I see this error

[42524] ERROR: invalid input value for enum workspace_5eogcnhvg0ht12x9i45sd8c2k."workflowRun_status_enum": "ENQUEUED"
[42524] CONTEXT: unnamed portal parameter $3 = '...'
[42524] STATEMENT: INSERT INTO "workspace_5eogcnhvg0ht12x9i45sd8c2k"."workflowRun"("state", "searchVector", "name", "startedAt", "endedAt", "status", "createdBySource", "createdByWorkspaceMemberId", "createdByName", "createdByContext", "output", "context", "position", "id", "createdAt", "updatedAt", "deletedAt", "workflowVersionId", "workflowId") VALUES ($1, DEFAULT, $2, DEFAULT, DEFAULT, $3, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $4, $5, $6, $7, DEFAULT, DEFAULT, DEFAULT, $8, $9) RETURNING "state", "searchVector", "name", "startedAt", "endedAt", "status", "createdBySource", "createdByWorkspaceMemberId", "createdByName", "createdByContext", "output", "context", "position", "id", "createdAt", "updatedAt", "deletedAt"

In the server container I see this error
ERROR [ExceptionsHandler] invalid input value for enum workspace_7qchiqkd7f5gsfseq65ejiwpg."workflowRun_status_enum": "ENQUEUED"

Any help would be greatly appreciated.

Thanks
Chris
Was this page helpful?