DreamObservationError
class DreamObservationError(DreamError, ValueError)
Importable as dream.DreamObservationError.
An observation that cannot be sent; raised before anything is sent, with the key named in the message.
Either it does not match the embodiment the client checks it against (a key missing or extra, a shape, a dtype, a camera window that is not a non-empty list of base64 JPEG strings), or a value cannot travel as JSON (bytes, a set, an object array, a key that is not a string: send each frame as a base64 str). strict=False turns off the embodiment check, not the JSON one.
Raised by