Ok I have learned what the problem is. I needed to change the CAN clock speed on the MKR. Seems to be working now.