I noticed recently that my X-One2 would make clicking noises while it prints things. Whenever I hear these clicks, the print also seems to fail. I found an older thread regarding a similar issue but they had issues with extrusion. In my case, it is just this odd clicking sound that corresponds to print failure.
Normally, the 3D printers would make clicking sounds when the speed of the printer is faster than the required. Check that the filament is not slipping in the printer. If the noises still do not subside, you need to check the nuts and bolts of the printer.