encode, decode not implemented error