If importing or checking is successful, 0 (zero) is returned as error code. The following codes are returned in case of an error:
1 - One or more of the Text Blocks to be imported contain(s) errors.
2 - A file name is malformed.
3 - A Text block name is invalid; a file name cannot be used as Text block name.
4 - The validator program tbval.exe was not found. Check that it is in the same folder as tbmigrate.exe.
5 - Field set name is not valid.
6 - Field name is not valid.
7 - User has insufficient authorization.
8 - Unable to unlock object. Usually indicates that someone is using the object, e.g., by editing it.
9 - Required command line parameters were missing.
10 - An unexpected error occurred. This may include authentication or authorization failure, a missing project, and others.
11 - Unable to lock object. Usually indicates that someone is using the object, e.g., by editing it.