Asset Import Failure - Error: At least one value must be set. [Object (Label: xxxxxxxxxxx, Id: Unknown)].
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
When performing import of objects in Assets, it is failing with Error: At least one value must be set. [Object (Label: xxxxxxxxxxx, Id: Unknown)].
2 error(s) found in source data
Error: At least one value must be set. [Object (Label: xxxxxxxxxxx, Id: Unknown)].
Error: At least one value must be set. [Object (Label: xxxxxxxxxxx, Id: Unknown)].
Cause
This can cause due to two reasons:
- Import file doesn't have a value for an attribute but minimum cardinality set to 1 or higher.
- Value of attribute in import file doesn't match the Select(drop-down) value of an attribute when the it is mandatory.
Solution
Set the cardinality value of an attribute to 0 or add value for an attribute in import file. Also, ensure the value in import file matches with the Select type(drop-down) attribute.
How to set the cardinality of an attribute?
Select Assets in the top navigation bar.
Select Object schemas.
Select the relevant object schema.
Select the relevant object type.
Select Attributes.
Select the gear icon next to the attribute and select Configure in the dropdown.
Under the Cardinality tab, enter the maximum or minimum number of values that can be added to the attribute.