Value [ <value> ] for field [ <field name> ] is invalid
Example:
[2019-02-20 01:22:56 Z] ERROR : RallyEIF::WRK::RallyConnection.rescue in create_internal - Unable to create a corresponding Rally item, Error on request - https://rally1.rallydev.com/slm/webservice/v2.0/defect/create?workspace=workspace/99999999999 - {:errors=>["Validation error: Defect.FixVersion Value [ Option3 ] for field [ FixVersion ] is invalid. Valid values are: {[Option1, Option2]}"], :warnings=>[]}
Cause:
This error is encountered when a dropdown or multi-select field in Agile Central does not contain the value that is coming from the external system.
Solution:
Add the value to the Agile Central field.
<field name> should not be null
Example:
[2019-02-20 01:22:58 Z] ERROR : RallyEIF::WRK::RallyConnection.rescue in create_internal - Unable to create a corresponding Rally item,
Error on request - https://rally1.rallydev.com/slm/webservice/v2.0/defect/create?workspace=workspace/99999999999 -
{:errors=>["Validation error: Defect.Component should not be null"], :warnings=>[]}
Cause:
This occurs when there is a required field in Agile Central that is either not populated in the external system or it is not mapped in the XML config file.
Solution:
There are a few options to resolve this one
- Reconfigure the field in Agile Central so it is not required
- Ensure the field is populated in the external system
- Ensure there is a field mapping in the configuration file.
Object not found for Object ID: null
Example:
[2019-02-20 01:00:34 Z] ERROR : RallyEIF::WRK::RallyConnection.rescue in create_internal - Unable to create a corresponding Rally item,
Error on request - https://rally1.rallydev.com/slm/webservice/v2.0/defect/create?workspace=workspace/99999999999 -
{:errors=>["Could not read: Object not found for Object ID: null"], :warnings=>[]}
Cause:
To resolve this error, it is necessary to look at the line above the error. This can be caused by a preceding entry as follows:
[2019-02-20 01:00:34 Z] WARN : RallyEIF::WRK::RallyConnection.project_oid_for_name - project_name |Sample Project| is not unique within the Company Workspace workspace
Because the integration discovered multiple projects with the same name, it errs on the side of caution since it can't be certain which project to create the work item in.
Solution:
The solution is to ensure that there are no duplicate project names in the workspace. To resolve this, rename one of the projects to a unique name.