Thanks for the answer,
I already knew that, the problem is that I use port 1 for communication with an encoder and every time this error is sent from the library I lose the frame with the encoder which generates a performance problem that is very difficult to solve for the program.
The encoder is read every 7ms and its value affects the positioning of other elements, so as the library sends that through serial port 1, the encoder stops communicating for several cycles, depending on what moment of the frame it is in and so I lose the position and that generates serious problems for me.
The question is:
How can I prevent the WIFI library from using serial port 1?
Thanks