# Issue sending \[\]byte to a temporal workflow

**URL:** <https://community.temporal.io/t/issue-sending-byte-to-a-temporal-workflow/16538>\
**Category:** Community Support\
**Tags:** go-sdk\
**Created:** [February 19, 2025, 11:20pm UTC](https://community.temporal.io/t/issue-sending-byte-to-a-temporal-workflow/16538 "2025-02-19T23:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maria\_Sitkovets](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maria_sitkovets/32/6883_2.png) [@Maria\_Sitkovets](https://community.temporal.io/u/Maria_Sitkovets)\
**Post date:** [February 19, 2025, 11:20pm UTC](https://community.temporal.io/t/issue-sending-byte-to-a-temporal-workflow/16538/1 "2025-02-19T23:20:15Z")

</div>

Hello, I am looking for some help on how to send data to my workflow. I am trying to send it over a signal with the go sdk and I am getting this error from my activity:  
`"message": "failed to process event: proto: cannot parse invalid wire-format data"`  
This is the code for signaling it:

```auto
signal := kafkaretrywf.KafkaEventSignal{
		ProcessorName: processorName,
		KafkaEvent: event,
	}

_, err = c.SignalWithStartWorkflow(
	ctx,
	workflowID,
	kafkaretrywf.KAFKA_EVENT_SIG,
	signal,
	workflowOptions,
	kafkaretrywf.KafkaRetryWF,
)

```

the types (I have tried changing it to `[]byte` and to `string` and encoding when I send the signal/decoding in the activity and still get the same error):

```auto
type KafkaEventSignal struct {
	KafkaEvent json.RawMessage `json:"kafka_event"`
	ProcessorName string `json:"processor_name"`
}

type RetryProcessEventInput struct {
	KafkaEvent json.RawMessage `json:"kafka_event"`
	ProcessorName string `json:"processor_name"`
}

```

I need to send this data as `[]byte` somehow because this is supposed to call a function within my activity that expects input as` []byte`.

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [February 20, 2025, 3:31am UTC](https://community.temporal.io/t/issue-sending-byte-to-a-temporal-workflow/16538/2 "2025-02-20T03:31:43Z")

</div>

If the workflow argument is of` []byte` type, then you have to pass a `[]byte` value as an argument to the workflow start.
