{"record":{"id":"ce679664b0856e3e","repo":"temporalio/temporal","slug":"invalid-taskqueue-on-startchildworkflowexecutionco","errorCode":null,"errorMessage":"invalid TaskQueue on StartChildWorkflowExecutionCommand: %w. WorkflowId=%s WorkflowType=%s Namespace=%s TaskQueue=%s","messagePattern":"invalid TaskQueue on StartChildWorkflowExecutionCommand: %w\\. WorkflowId=(.+?) WorkflowType=(.+?) Namespace=(.+?) TaskQueue=(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"service/history/api/command_attr_validator.go","lineNumber":545,"sourceCode":"\t}\n\n\tif err := v.searchAttributesValidator.Validate(attributes.GetSearchAttributes(), targetNamespace.String()); err != nil {\n\t\treturn enumspb.WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES, fmt.Errorf(\"invalid SearchAttributes on StartChildWorkflowCommand: %w. WorkflowId=%s WorkflowType=%s Namespace=%s\", err, wfID, wfType, ns)\n\t}\n\n\tif err := priorities.Validate(attributes.Priority); err != nil {\n\t\treturn failedCause, err\n\t}\n\n\t// Inherit taskqueue from parent workflow execution if not provided on command\n\tif attributes.TaskQueue == nil {\n\t\tattributes.TaskQueue = &taskqueuepb.TaskQueue{\n\t\t\tKind: enumspb.TASK_QUEUE_KIND_NORMAL,\n\t\t}\n\t}\n\tif err := tqid.NormalizeAndValidateUserDefined(\n\t\tattributes.TaskQueue, parentInfo.TaskQueue, parentInfo.TaskQueue, v.maxIDLengthLimit); err != nil {\n\t\treturn failedCause, fmt.Errorf(\"invalid TaskQueue on StartChildWorkflowExecutionCommand: %w. WorkflowId=%s WorkflowType=%s Namespace=%s TaskQueue=%s\", err, wfID, wfType, ns, attributes.TaskQueue)\n\t}\n\n\t// workflow execution timeout is left as is\n\t//  if workflow execution timeout == 0 -> infinity\n\n\tattributes.WorkflowRunTimeout = durationpb.New(overrideWorkflowRunTimeout(attributes.GetWorkflowRunTimeout().AsDuration(), attributes.GetWorkflowExecutionTimeout().AsDuration()))\n\n\tattributes.WorkflowTaskTimeout = durationpb.New(overrideWorkflowTaskTimeout(targetNamespace, attributes.GetWorkflowTaskTimeout().AsDuration(), attributes.GetWorkflowRunTimeout().AsDuration(), defaultWorkflowTaskTimeoutFn))\n\n\treturn enumspb.WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED, nil\n}\n\nfunc (v *CommandAttrValidator) validateActivityRetryPolicy(\n\tnamespaceName namespace.Name,\n\tretryPolicy *commonpb.RetryPolicy,\n) error {\n\tif retryPolicy == nil {\n\t\treturn nil","sourceCodeStart":527,"sourceCodeEnd":563,"githubUrl":"https://github.com/temporalio/temporal/blob/bde624efd13fbd3843654058db6d9c716166318b/service/history/api/command_attr_validator.go#L527-L563","documentation":"Error \"invalid TaskQueue on StartChildWorkflowExecutionCommand: %w. WorkflowId=%s WorkflowType=%s Namespace=%s TaskQueue=%s\" thrown in temporalio/temporal.","triggerScenarios":"Thrown at service/history/api/command_attr_validator.go:545 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bde624efd13fbd3843654058db6d9c716166318b","analyzedAt":"2026-09-01T07:18:39.080Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}