search cancel

API-1019 error creating a project from a given template

book

Article ID: 228647

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

When creating a project from the Work Package template, 2 users are unable to create a project and receives the error above.

The user's permissions are fine and this is only impacting 2 users that belong to the same groups in clarity as working users.

Other project Templates work fine for these 2 users

The following is from the log file:

ERROR 2021-10-25 14:25:54,595 [http-nio-8080-exec-10105] niku.xql2 (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) EXCEPTION caught in CopyProjectTasks.copyODFCustomAttributes()com.niku.union.odf.exception.ODFValidationException: You do not have the rights to perform the action.

ERROR 2021-10-25 14:25:54,595 [http-nio-8080-exec-10105] niku.xql2 (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) 

com.niku.union.odf.exception.ODFException: com.niku.union.odf.exception.ODFValidationException: You do not have the rights to perform the action.


ERROR 2021-10-25 14:25:55,004 [http-nio-8080-exec-10105] xql2.rule (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) Insufficient rights to add/update team record

ERROR 2021-10-25 14:25:55,004 [http-nio-8080-exec-10105] niku.xql2 (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) Invalid record for update.

ERROR 2021-10-25 14:25:55,004 [http-nio-8080-exec-10105] niku.xql2 (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) Exception CopyProjectTasks.beginCopy()

com.niku.union.utility.MessageKeyException: PRJ-10012: Attempt to add/update record failed.


ERROR 2021-10-25 14:25:55,005 [http-nio-8080-exec-10105] niku.xql2 (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) Exception CopyProjectTasks.copyProjectFromTemplate()

ERROR 2021-10-25 14:25:55,265 [http-nio-8080-exec-10105] ppm.rest (clarity:[email protected]:45141419__80D87533-B534-44A5-ADD1-EBAD962CC700:PPM_REST_API) ProjectTemplateCopierResource ::  Exception while creating project [name: ITDA Business Partners (BCA) - Product Development Labor (Risk) code: PRJ032459 ] from template id [ 5074588 ]. Error code: projmgr.UPDATE_FAILED Error Msg: projmgr.templateCopyFailed

Environment

Release : 15.9.3

Component : Clarity MUX Blueprints and Administration

Resolution

Worked around the problem by pointing a new Project Template to the blueprint.

This was not reproducible at Broadcom with the same data set, same user, etc...