Error API-1006 when creating project from template
book
Article ID: 281499
calendar_today
Updated On: 04-12-2024
Products
Clarity PPM SaaS
Clarity PPM On Premise
Issue/Introduction
New from Template on a blueprint has a date field when creating. If the user selects a date, deletes it, and then clicks Create an error is thrown:
API-1006 : The value '' for Attribute '<attributeName>' is not in an expected format or is invalid.
Date field is NOT required
Steps to Reproduce:
- Log into Classic view
- Go to Administration>>Studio>>Objects
- Search for Project object and open
- Click Attributes tab
- Create a Date attribute with an Attribute Name, Attribute ID, and an api attribute ID. Rest can be blank
- Save and Return
- Go to MUX>>Administration>>Blueprints
- Copy the Standard Project blueprint
- Rename and open the new blueprint
- Click Edit
- Go to 'Create from Template'
- Drag over the new date attribute created to the New Project section
- Click Publish
- Create a new project template and associate it with the new blueprint
- On Project Grid screen click on New from Template
- Select the template you created, click Next
- Fill in required information
- Select a date and tab out
- Go back to the Date and delete
- Click 'Create'
Expected Results: A new project is created
Actual Results: Receive an error message "API-1006 : The value '' for Attribute '<attributeName>' is not in expected format or is invalid."
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No