search cancel

Create cost plan for Custom Investments - API-1007 error

book

Article ID: 201661

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

We are getting following error while trying to create cost plan for a custom investments, so we are unable to create any cost plans in the custom investment:

API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.

We have verified that all the global rights are allocated for the custom investment object to the user.

WARN  2020-10-15 12:10:32,958 [ajp-nio-8009-exec-7] ppm.rest (clarity:userid1:zzzzzzz:PPM_REST_API) User userid1 tried to POST resource [resource name: costPlans, resource id: null] but does not have permission.

 

Cause

This issue happens if there is a default value set for the "Grouping Attribute" field on the Cost Plan object.

Checking the developer tools / browser trace, it shows that a default is set for "groupingAttributes" with the following pulled: ","groupingAttributes":["resource_class_id","transaction_class_id"]}

Environment

Release : 15.8, 15.8.1

Component : CA PPM FINANCIAL MANAGEMENT

Resolution

This issue is tentatively planned to be fixed in Clarity 15.9.

Workaround: Remove defaults for the Grouping Attribute:

  1. In Clarity go to Administration->Objects->Cost Plan
  2. Click on the Attributes tab
  3. Click on the Grouping Attributes attribute
  4. Remove the Default value(s) and Save

Additional Information