# Failed to get label

**URL:** https://www.finalbuilder.com/forums/t/failed-to-get-label/1172
**Category:** Discussion
**Created:** [April 16, 2009, 5:07am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172 "2009-04-16T05:07:34Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![chanmy8](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@chanmy8](https://www.finalbuilder.com/forums/u/chanmy8)
#### Post date: [April 16, 2009, 5:07am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/1 "2009-04-16T05:07:34Z")

</div>

Hi,

I&nbsp;failed to get source file by label using Vault Get Label action. It returned error as below. Please advice.

Running Vault with command line : GETLABEL -user "kkchan" -password "\*\*\*\*\*\*" -host "xxx.xxx.xxx.xxx:xxxx" -repository "dotNET" -makewritable -labelworkingfolder "C:\FlexHR\Trunk\Mainline\" "$/FlexHR/Trunk/Mainline/" "Ver6.0.10"  
usage: GETLABEL repository\_item label [labelpath]

Thank you

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 16, 2009, 7:15am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/2 "2009-04-16T07:15:00Z")

</div>

You need to give us more to work with. Which version and build of FinalBuilder? Which version of Vault?

---

<div class="post-metadata">

### Author: ![chanmy8](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@chanmy8](https://www.finalbuilder.com/forums/u/chanmy8)
#### Post date: [April 16, 2009, 8:46am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/3 "2009-04-16T08:46:03Z")

</div>

Hi,

FB - 6.20 (download today)

Vault server is version 4.1.4.18402

---

<div class="post-metadata">

### Author: ![chanmy8](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@chanmy8](https://www.finalbuilder.com/forums/u/chanmy8)
#### Post date: [April 23, 2009, 11:11am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/4 "2009-04-23T11:11:17Z")

</div>

Hi,

Any update?

Thank you

---

<div class="post-metadata">

### Author: ![davincij](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/53a042/32.png) [@davincij](https://www.finalbuilder.com/forums/u/davincij)
#### Post date: [May 12, 2009, 7:16am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/5 "2009-05-12T07:16:58Z")

</div>

I have the same problem, not sure if it's a vault problem or not.&nbsp; I am still playing with it, I have FinalBuilder 6.3 and Vault 4.1.1

Running Vault with command line : GETLABEL -user "admin" -password "\*\*\*\*\*\*" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk\" "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124"

usage: GETLABEL repository\_item label [labelpath]  
&nbsp;

---

<div class="post-metadata">

### Author: ![davincij](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/53a042/32.png) [@davincij](https://www.finalbuilder.com/forums/u/davincij)
#### Post date: [May 12, 2009, 7:54am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/6 "2009-05-12T07:54:51Z")

</div>

Figured it out Finalbuilder puts the command line incorrectly together...

GETLABEL "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124" -user "admin" -password "\*\*\*\*\*\*" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk"

&nbsp;

Also vault freaks out if the path as trailing backslash.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [May 13, 2009, 3:11am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/7 "2009-05-13T03:11:02Z")

</div>

Hi Davinci,   
  
 \> Figured it out Finalbuilder puts the command line incorrectly together   
  
 How exactly is it not correct? I’ve tested the action here as well as checking against the help at ttp://download.sourcegear.com/misc/vault/help/client/clc.htm#GETLABEL and the command line parameters are being passed in the correct order.   
  
 Here are the command arguments that were used when I tested the action using Vault 4.1.4:   
  
 GETLABEL -user “paul” -password “\*\*\*\*\*\*” -host “[vaultdemo.sourcegear.com](http://vaultdemo.sourcegear.com)” -repository “Repository A” -merge overwrite -setfiletime current -makewritable -labelworkingfolder “C:\VaultWD” “$/a8i/” “My Label”   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![chanmy8](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@chanmy8](https://www.finalbuilder.com/forums/u/chanmy8)
#### Post date: [May 20, 2009, 10:33am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/8 "2009-05-20T10:33:00Z")

</div>

Hi,

Do you mean it is not able to be reproduced?

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [May 21, 2009, 12:46pm UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/9 "2009-05-21T12:46:35Z")

</div>

Hi Chan,   
  
 We were not able to reproduce it here, if you are able to let us know what is incorrect in the command arguments being passed to Vault we’ll be able to put a fix in.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![chanmy8](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@chanmy8](https://www.finalbuilder.com/forums/u/chanmy8)
#### Post date: [May 27, 2009, 6:06am UTC](https://www.finalbuilder.com/forums/t/failed-to-get-label/1172/10 "2009-05-27T06:06:56Z")

</div>

Hi,   
 [SourceGear.com](http://SourceGear.com) has pointed me the mistake, try to remove the trailing "" and “/” of labelpath and labelworkingfolder.   
  
 GETLABEL -user “kkchan” -password “\*\*\*\*\*\*” -host “xxx.xxx.xxx.xxx:xxxx” -repository “dotNET” -makewritable -labelworkingfolder “C:\FlexHR\Trunk\Mainline” “$/FlexHR/Trunk/Mainline” “Ver6.0.10”

> 

   
  
 Tested it works. My current workaround is use string to exclude the “/” and ""
