ECDSA Recover error for message hash leading with 0x00

I was testing out the ECDSA.recover. Everything works as per normal, but as soon as my message hash starts with 0x00... it did not work.