CV Local Server - Response From Server Is Not Valid

What to perform when using CV Local Server (UiPath.ComputerVision.LocalServer package), Error "Response from server is not valid" is thrown?

Root Cause:

  1. Antivirus blocks the UiPath.CVLocalServer.Host.exe file or the prerequisites are not installed
  2. Sometimes, with some OCRs, some elements on the screen are not detected which can lead to this behavior.


Resolution: Refer to the troubleshooting steps on About the local server package UiPath documentation on this error. If the issue is not solved after the above steps,
  1. Check if it is an issue with OCR
  2. Use CV ScreenScope and OCR of choice
  3. Use a CV activity of choice and check if the element is detected. If not, try to switch to a different OCR and see if the element can be detected
    • Eg: When using UiPathScreenOCR, if the body part is not detected as editable, it is not possible to do a type into. After changing the OCR to Tesseract, it might display as editable.