data version_error ai_generated true

TypeError: Descriptors cannot be created from ProtoBuf

ID: data/protobuf-version-mismatch

Also available as: JSON · Markdown
82%Fix Rate
86%Confidence
3Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
any active

Root Cause

Protobuf library version incompatible with generated code.

generic

Workarounds

  1. 90% success Match protobuf library version to generated code version
  2. 88% success Regenerate: protoc --python_out=. with matching protobuf version

Dead Ends

Common approaches that don't work:

  1. Pin protobuf to old version 72% fail

    Misses security fixes

  2. Regenerate proto files without matching library 78% fail

    Same error with different versions