E-PE0003 — Required field missing from serialized model

Error Type

Protobuf Error

Phase

loading a model via protobuf (from_protobuf)

Python exception

jijmodeling.ProtobufError

Message

The required field `{expected_field_name}` is missing from the `{message_name}` message.

The serialized model is incomplete or corrupted.

Cause

A field that JijModeling requires is absent from a protobuf message in the serialized model. The bytes are incomplete, corrupted, or were not produced by JijModeling’s serializer.

Fix

Verify that the bytes passed to from_protobuf are exactly what JijModeling’s to_protobuf produced (no truncation, binary-safe transfer), and re-export the model from the source if needed.