UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 4: invalid start byte

b"\x00\x02e$\xb1<\x00@\x9f4F\xdd\xb1cUfT\x11u)\x13\x9b+\xed\xd6’+Y=ic\xff,\xb2\x0c6\xb7\xe9h\x08\x16\x83\xe9\x88\x88&\x98\x94\x13\x0c;a\x9a\xc4\xd4\xc6nNO\xa6\x18W\x0b\xa9\x17?oJd\xd8\x93F"

.decode()

error: ‘utf-8’ codec can’t decode byte 0xb1 in position 4: invalid start byte

That means the bytes you provided are not encoded in utf-8, which is the default codec used for decode().

Where did you get the bytes from?
How have they been encoded?