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

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

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.

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
image

1 Like

That was it, thanks @PGriffith ! Shame to me for not figuring this out :grimacing:

1 Like