Facing and Error " Document is invalid"

Possible cause: As it is an old project opened on a newer version of Studio, there would be compatibility issues for certain activity packages.

Try these:

  • your project is not called UiPath
  • the xaml file you try to run is not in the UiPath folder
  • try copying and pasting your old sequences into a brand-new project