ANC_GENERIC_EXCEPTION error is occurring when attempting to create an absence entry on the timecard
We are trying to create an absence entry on the timecard using /hcmRestApi/resources/11.13.18.05/timeRecordEventRequests/ API, but getting an generic error.
Here is the sample payload, we are using.
Note : "processInline": "Y" , We have kept it as "Y" only for testing.
Department and Country are two additional attributes we are sending along with Absence type.
The output is same even if we don't pass Department and Country
=======================================================================
{
"processInline": "Y",
"processMode": "TIME_SUBMIT",
"timeRecordEvent":
[{
"startTime":"2025-11-05T08:00:00.000-08:00",
"reporterIdType":"PERSON",
"reporterId":"462",
"assignmentNumber":"E462",
"operationType":"ADD",
"measure": "4",
"timeRecordEventAttribute":
[
{
"attributeName":"AbsenceType",
"attributeValue":"300000004530020"
},
{
"attributeName":"DEPARTMENT",
"attributeValue":"1060 - Test Project"
},
{
"attributeName":"COUNTRY",
"attributeValue":"United States"