The most likely thing is that it was truncated during your transmission,
meaning: a bug in your code that serializes and/or sends the data. Can we
see any of that code? Note that you can use "protoc" (decode-raw) or
https://protogen.marcgravell.com/decode to validate a payload for integrity.

On Mon, 3 Feb 2020, 14:51 Chetan M, <[email protected]> wrote:

> I have a proto definition that has too many fields.I ended up just
> populating a couple of fields for test and sending them out but the
> consumer complains when parsing with the above message.Why is it so?I
> wouldn't be sending down messages with just 2-3 fields in production env
> but for testing I don't want to end up populating the 50 odd fields that
> are there on the protobuf definition.My instance has no required fields so
> it passes the validity test during send.Could you please help me here ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/42b73d13-5628-4c2b-a0d5-e1b2d3df50b2%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/42b73d13-5628-4c2b-a0d5-e1b2d3df50b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAF95VAwkkTzhr_9RB-6w1K1uAL2-h-amhbuzbJa29Fbzr-AvLQ%40mail.gmail.com.

Reply via email to