Unable to create Benefit Plans under modern UX - API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.

book

Article ID: 196891

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

The below error pops up when trying to create a new benefit plan in the Modern UX

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

Error in App-ca log

WARN  2020-07-31 09:48:52,002 [http-nio-8080-exec-61] ppm.rest (clarity:[email protected]:11441853__F8788FDF-0CB9-4B26-A05C-CFCA01CCD40B:PPM_REST_API) User [email protected] tried to POST resource [resource name: benefitPlans, resource id: null] but does not have permission.

This is happening for all users even with a super admin access.

Cause

1. Benefit Plan object -> Set defaults for Plan Name, AutoNumber: Plan Code

2. Create a new Custom Investment

3. Create an instance on #2

4. On #3, financial enable the instance.

5. Go to Benefit Plans, attempt to create a Benefit Plan by clicking on (+) icon.

NOTE: Not specific to Custom Investment should be reproducible on Stock as well.

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

Expected Result: Should be able to create a Benefit Plan

Workaround: Remove the default value in Plan Name attribute (Object - Benefit Plan - Name)

All default values are configured on Benefit Plan. On click of (+) icon to Create a Benefit Plan,  usually it doesn't do a POST call but here as all the defaults are available it does an implicit POST with the available defaults.

Benefit Plan creation depends on investmentId but that was missing.

 

Environment

Release: 15.8 and 15.8.1

Resolution

This is a product defect DE56785 being worked on by SE