Error API-1006 when creating project from template
search cancel

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: 

  1. Log into Classic view
  2. Go to Administration>>Studio>>Objects
  3. Search for Project object and open
  4. Click Attributes tab
  5. Create a Date attribute with an Attribute Name, Attribute ID, and an api attribute ID.  Rest can be blank
  6. Save and Return
  7. Go to MUX>>Administration>>Blueprints
  8. Copy the Standard Project blueprint
  9. Rename and open the new blueprint
  10. Click Edit
  11. Go to 'Create from Template'
  12. Drag over the new date attribute created to the New Project section
  13. Click Publish
  14. Create a new project template and associate it with the new blueprint
  15. On Project Grid screen click on New from Template
  16. Select the template you created, click Next
  17. Fill in required information 
  18. Select a date and tab out
  19. Go back to the Date and delete
  20. 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."

Environment

Clarity - 16.2, 16.2.1

Cause

DE80190

Resolution

Fixed in 16.2.2