K1 max crashes mid print

I’ve been having this problem with my K1 Max, everything seems to be working fine, but with ABS,ASA and Nylons the printer just stops working completely and throws the error:
key:2564


I’ve contacted creality support and they sent me a new hotend and an adaptor board, and for a week it stopped appearing, but yesterday i was printing some Sunlu PA6-CF and while doing a temp tower it just stopped working during the second section, it usually happens while having chamber temperatures of 40-50 Celsius, but it has happened once while printing PLA.

I don’t have any idea of what is causing it, because i can have 3 or 4 successful prints and then it happens again.