# System.util.retarget() can't handle spaces in a project name?

**URL:** <https://forum.inductiveautomation.com/t/system-util-retarget-cant-handle-spaces-in-a-project-name/25207>\
**Category:** Ignition\
**Created:** [May 21, 2019, 8:39pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-cant-handle-spaces-in-a-project-name/25207 "2019-05-21T20:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter.Dmitriev](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Peter.Dmitriev](https://forum.inductiveautomation.com/u/Peter.Dmitriev)\
**Post date:** [May 21, 2019, 8:39pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-cant-handle-spaces-in-a-project-name/25207/1 "2019-05-21T20:39:49Z")

</div>

Hello,

I’m trying to link projects from different gateways using retarget function. Starting gateway is 7.9.10., target - 7.7.10.

On first attempt I got error 400. After google suggested to use URL-encoded characters I replaced all spaces in project name in retarget() with “%20”. Now I’m getting this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c3315181df4f5dbf602f080d27b0cda390caa63d.png)

It works fine for projects that don’t have spaces in their names.

Is there a work around or I have to rename?

Thank you,  
Peter.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 21, 2019, 8:42pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-cant-handle-spaces-in-a-project-name/25207/2 "2019-05-21T20:42:37Z")

</div>

Project _names_ cannot contain spaces - you’re probably passing the project _title_ - check the name used on Configure → Projects on the gateway web interface:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/44fe756a9b057c499d64f06fca7e7c052641e176.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/866e1cfaa0a063574034ee76a6585ba9e9094346.png)

---

<div class="post-metadata">

**Author:** ![Peter.Dmitriev](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Peter.Dmitriev](https://forum.inductiveautomation.com/u/Peter.Dmitriev)\
**Post date:** [May 21, 2019, 9:25pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-cant-handle-spaces-in-a-project-name/25207/3 "2019-05-21T21:25:54Z")

</div>

That was it, thanks @paul-griffith ! Shame to me for not figuring this out 😬
