My Oracle Support Banner

HCM REST API Error - "The value of the attribute ComponentCode:[ TES_XXXX_PAY] not found isn't valid." (Doc ID 2869143.1)

Last updated on MAY 12, 2022

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version 11.13.21.10.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.13.21.10.0 version, Data Load

When attempting to create Salary via REST API,

POST

.../hcmRestApi/resources/11.13.18.05/salaries

Headers:
Content-Type : application/vnd.oracle.adf.resourceitem+json
REST-Framework-Version : 4

Payload

{
"AssignmentId": 30000XXXXXXXXXX,
"SalaryBasisId": 300001XXXXXXXXX,
"SalaryFrequencyCode": "ANNUAL",
"SalaryBasisType": "ORA_SIMPLE_COMPONENTS",
"CurrencyCode": "INR",
"DateFrom": "2022-05-14",
"DateTo": "4712-12-31",
"SalaryAmount": 4067.34,
"AdjustmentAmount": null,
"AdjustmentPercentage": null,
"AnnualSalary": 4067.34,
"AnnualFullTimeSalary": 4067.34,
"ActionId": 300000000XXXXX,
"ActionReasonId": 30000000XXXXXXX,
"salarySimpleComponents":
{
 "items":[{
           "Amount": 4000,
           "AnnualAmount": 4000,
           "AnnualFtAmount": 4000,
           "BasedOnComponentCode": null,
           "BasisSimpleComponentId": 30000XXXXXXXXXX,
           "ComponentCode": "TES_FIXED_PAY",
           "CurrencyCode": "INR",
           "DisplaySequence": 0,
           "Percentage": null,
           "SimpleSalaryCompntId": 300001XXXXXXXXX,
           "ComponentName": "Fixed Pay",
           "BasedOnComponentName": null
   },

..............


the following error occurs,

ERROR
-----------------------
{
   "title": "Bad Request",
   "status": "400",
   "o:errorDetails": [
       {
           "detail": "The value of the attribute ComponentCode:[ TES_XXXX_PAY] not found isn't valid.",
           "o:errorCode": "FND:::FND_CMN_INVALID_ATTRB_API_SERV",
           "o:errorPath": "/salarySimpleComponents/0"
       }


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.