I get an illegal month error while trying to upload an item to the Project Client
Symptom
- The summary screen says "Added 0 of 0 items. [x] is an illegal month." With the [x] being replaced by a number.
Applies to
- CONTENTdm
Resolution
The data type for one of your fields is set to Date. This means that the metadata in this field must match the formatting rules below:
Supported Formats | YYYY-MM-DD YYYY-MM YYYY MM/DD/YYYY MM/YYYY YYYY-YYYY |
2009-01-01 2009-01 2009 11/30/2008 11/2008 2008-2009 |
---|---|---|
Supported delimiters between dates | Comma (,) and semicolon (;) |
2008, 2009 2008; 2009 |
Leading spaces are okay but not required when using multiple dates | YYYY; YYYY; YYYY YYYY;YYYY;YYYY |
2007; 2008; 2009 2007;2008;2009 |
If you don't want to have to use this format, change the data type to Text. Go to CONTENTdm Administration > Collections > Field Properties for the collection you're trying to upload the items to. Verify that the data type for each field is set to your preferred type.
Additional information
There is more on entering date metadata.