# Studio project migration issue - invokeElement error

**URL:** <https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293>\
**Category:** Studio\
**Tags:** awaiting-user-response, studio, error\
**Created:** [December 14, 2022, 3:27pm UTC](https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293 "2022-12-14T15:27:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![melanie](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/melanie/32/176993_2.png) [@melanie](https://forum.uipath.com/u/melanie)\
**Post date:** [December 14, 2022, 3:27pm UTC](https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293/1 "2022-12-14T15:27:18Z")

</div>

Hi,

I tried to migrate a process from Windows Legacy to Windows and I have this error which appears when I try to run the program:

 ![image](https://global.discourse-cdn.com/uipath/original/4X/9/b/5/9b51a5722373feaf5612fe49800b5d63c8025ab4.png)  
Do you know how I could fix it?

I tried to upload the packages before and next time after the migration, both methods didn’t work.

Thanks,

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [January 3, 2023, 3:07pm UTC](https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293/2 "2023-01-03T15:07:15Z")

</div>

Hi @melanie

Is this issue resolved with the latest Studio version?

If not, does this happen on every new (empty) Legacy project that you convert to a windows project, or is there something specific in the project that is throwing this error?

---

<div class="post-metadata">

**Author:** ![Caleb\_D2](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@Caleb\_D2](https://forum.uipath.com/u/Caleb_D2)\
**Post date:** [August 31, 2023, 1:30pm UTC](https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293/3 "2023-08-31T13:30:44Z")

</div>

Did you ever find a solution for this? We’re having the same issue.

---

<div class="post-metadata">

**Author:** ![Caleb\_D2](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@Caleb\_D2](https://forum.uipath.com/u/Caleb_D2)\
**Post date:** [September 1, 2023, 12:14pm UTC](https://forum.uipath.com/t/studio-project-migration-issue-invokeelement-error/504293/4 "2023-09-01T12:14:15Z")

</div>

For anyone else with this issue, refer here for a solution to this UiPath bug:

> [@Legacy to Windows - invokeElement error](https://forum.uipath.com/t/legacy-to-windows-invokeelement-error/556048/8):
>
> Hi @Caleb_D2 I am able to resolve issue by removing and adding again one workflow. There was one Invoke Workflow activity was caused this issue. This is really strange that I tried to remove that InvokeWorkflow activity and it worked. It was in init phase of framework. Tried to remove one by one and run. (Not Fun activity though stuck_out_tongue ) You need to add it again and it does not show you this error. In your case this might be different but posting solution for my error.
