Generic API-1019 error converting idea into project using template
search cancel

Generic API-1019 error converting idea into project using template

book

Article ID: 438150

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS Clarity FedRAMP

Issue/Introduction

The idea conversion to a project using a template fails with a generic API-1019 error when a preselected lookup field value is inactive and this is on the template modal

STEPS TO REPRODUCE

  1. Administration > Studio > Objects > Idea object
  2. Create a lookup type attribute called Direct Manager linked to the SCH_BROWSE_RESOURCE system lookup
  3. Create an idea and populate the field with a given resource, ie ResMan1
  4. Approve the idea
  5. Go to the resource profile ResMan1 and inactivate him
  6. Create a project object blueprint.
  7. Go to the Create from Template tab and add the Direct Manager field to the same
  8. Link the blueprint to a project template
  9. Go to the approved idea > Right click > Convert to Project
  10. Select the template we linked to the custom blueprint > Click Next
  11. You can see the Direct Manager field with ResMan1 preselected
  12. Click on the Create button

Expected Results: The toast message is meaningful: CMN-0016: Attribute 'Direct Manager' has an invalid value
Actual results: API-1019: Could not process the request due to internal error

Environment

Clarity 16.3.X, 16.4.X

Resolution

In Clarity 16.5.0 the generic API-1019 : Could not process the request due to internal error message has been updated to a meaningful CMN-0016: Attribute 'Direct Manager' has an invalid value error message

Additional Information

  • ConvertIdeaFunctionResource :: Exception occured while executing 'Required Attribute' rule while creating 'project' instance from project template.
  • When the system tries to convert the Idea to a Project, it copies attributes to a new Project instance and validates it. An ODFValidationException is being thrown here because of a business rule (most likely a "Required Attribute" rule) failing during the creation of the Project. For instance, the Project template might require a specific attribute that wasn't copied from the Idea or is missing entirely.
  • Check for anything you've added recently as a rule and disable it

When converting idea to project, a generic error is thrown: API-1019 

The app-ca.log file states:

ERROR 2026-04-16 08:46:40,643 [http-nio-8082-exec-549] ppm.rest (clarity:xxxxxxxxx:mysession:PPM_REST_API)  ConvertIdeaFunctionResource ::  Exception occured while executing 'Required Attribute' rule while creating 'project' instance from project template.
ERROR 2026-04-16 08:46:40,644 [http-nio-8082-exec-549] ppm.rest (clarity:xxxx:114755042__4F6F6CE2-E6E4-4935-88A7-D45221530D8E:PPM_REST_API) (1f40be2e-09dc-4d91-97cf-7966f13116c5) 
ERROR 2026-04-16 08:48:36,592 [http-nio-8082-exec-580] cache.SecurityDomainsCache (clarity:xxxxxx:mysession:PPM_REST_API)  Failed to parse following malformed url entered by user : ./../../../../niku/nu#action:pma.ideaProperties&odf_code=idea&odf_view=idea.test_attachments &id=$
java.net.MalformedURLException: no protocol: ./../../../../niku/nu#action:pma.ideaProperties&odf_code=idea&odf_view=idea.test_attachments &id=$