issues with thermocouple and maxx31855

im running a thermocouple with a maxx31855 board. The issue i have is when i first connected it 1 out of 20 reads of the sensor it wouldnt be able to read it. now its gotten worse and its like 1 out of 20 times it can read it and all the other times i get a nan reading. im using the same code as before so none of that has changed. anyone experience this before?

Sounds like a bad connection or broken wire making intermittent contact. The chip reports faults in the low three bits of the 32-bit output word. Bit 0 is set if the thermocouple is disconnected. Bit 1 is set if the thermocouple is shorted to Ground. Bit 2 is set if the thermocouple is shorted to VCC.