Skip to content

Exceptions

Martin Miksik edited this page Apr 10, 2020 · 11 revisions

PyODataException

  • Cannot encode value {} without complex type information
  • Cannot decode value {} without complex type information
  • Bad format: invalid list value {}
  • Bad format: invalid list value {}
  • EnumType {self} has no member {item}
  • EnumType {self} has no member with value {item}

PyODataModelError

  • Cannot access this association. An error occurred during parsing association metadata due to that annotation has been omitted.
  • Cannot access this type. An error occurred during parsing type stated in xml({self.name}) was not found, therefore it has been replaced with NullType.
  • Malformed value {0} for primitive Edm type. Expected format is {1}'value'
  • Cannot convert value of type {} to literal. Datetime format is required.
  • Malformed value {0} for primitive Edm type. Expected format is /Date(value)/
  • Cannot decode datetime from value {}.
  • Cannot decode datetime from value {}.
  • Cannot replace {0} of {1} by {2}
  • {0} cannot be the type of {1}
  • Scale value ({}) must be less than or equal to precision value ({})
  • Type {} does not exist in Schema{}
  • EntityType {} does not exist in Schema Namespace {}
  • EntityType {} does not exist in any Schema Namespace
  • Neither primitive types nor types parsed from service metadata contain requested type {}
  • EntityType {} does not exist in Schema Namespace {}
  • Property {} does not exist in {}
  • EntityType {end_role.entity_type_info.name} does not exist in Schema Namespace {end_role.entity_type_info.namespace}
  • Association {} does not exist in namespace {}
  • EntitySet {} does not exist in Schema Namespace {}
  • Role {} is not defined in association {}
  • Cannot replace {0} of {1} to {2}
  • {0} cannot be the type of {1}
  • Cannot replace {0} of {1} to {2}
  • {0} cannot be the type of {1}
  • Cannot replace {0} of {1} to {2}
  • Assigned entity set {0} differentiates from the declared {1}
  • Association {} cannot have more than 2 end roles

RuntimeError

KeyError

TypeError

Clone this wiki locally