# Errors during reoptimization

**URL:** <https://community.pix4d.com/t/errors-during-reoptimization/32562>\
**Category:** PIX4Dmapper\
**Created:** [January 9, 2025, 8:04pm UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562 "2025-01-09T20:04:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tfite](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@tfite](https://community.pix4d.com/u/tfite)\
**Post date:** [January 9, 2025, 8:04pm UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562/1 "2025-01-09T20:04:22Z")

</div>

I am receiving the following error message when reoptimizing after marking GCPs in the point cloud after step 1 processing:  
“[Error]: Error e9031: Cannot reoptimize. Failed to remove some first step directories.”

Anyone else encounter this problem or have suggested solutions?

---

<div class="post-metadata">

**Author:** ![Rhea\_Garratt](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/rhea_garratt/32/403_2.png) [@Rhea\_Garratt](https://community.pix4d.com/u/Rhea_Garratt)\
**Post date:** [February 5, 2025, 10:35am UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562/2 "2025-02-05T10:35:12Z")

</div>

Hi @tfite, are you still encountering this issue? I have not seen any recent mention of a similar issue. Have you tried on another computer?

---

<div class="post-metadata">

**Author:** ![komsilp](https://avatars.discourse-cdn.com/v4/letter/k/5fc32e/32.png) [@komsilp](https://community.pix4d.com/u/komsilp)\
**Post date:** [May 1, 2025, 2:06pm UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562/3 "2025-05-01T14:06:01Z")

</div>

I also have this issue “Cannot reoptimize. Failed to remove some first step directories.”

---

<div class="post-metadata">

**Author:** ![nmellon](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nmellon](https://community.pix4d.com/u/nmellon)\
**Post date:** [June 11, 2025, 9:29pm UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562/4 "2025-06-11T21:29:38Z")

</div>

I’m also getting this issue. I tried moving the project to the local C drive as someone mentioned it could be due to onedrive issues. I still get the error. How do we fix this??

---

<div class="post-metadata">

**Author:** ![nmellon](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nmellon](https://community.pix4d.com/u/nmellon)\
**Post date:** [June 12, 2025, 5:31am UTC](https://community.pix4d.com/t/errors-during-reoptimization/32562/5 "2025-06-12T05:31:07Z")

</div>

Hi guys. UPDATE on the situation.

Pix4d support suggested taking everything off the onedrive server and starting from scratch. This worked. I ended up placing the images and drone data on the C drive, made a new Pix4d job on the C drive and started the processing again. This time everything worked.
