cancel
Showing results for 
Search instead for 
Did you mean: 

CPI to SuccessFactors TimeData Replication Error (EmployeeTime)

former_member120518
Discoverer
0 Kudos

Dear Team,

We are integrating kronos with Successfactors EC using the CPI as middleware. The business process referred here is the TimeData replication of employees from Kronos to EC.

When posting the Employee time data from 3rd party to SF EC to the table 'EmployeeTime' getting an error 'COE_GENERAL_BAD_REQUEST'.

Sender System : Kronostimedata-table-post-errror.jpg

Middleware : CPI

Receiver System : SF EC

Process : Time Data Replication

Table Name : EMPLOYEETIME

Query : POST

Error : <code>COE_GENERAL_BAD_REQUEST</code>

<message>[COE0018]can't insert instance! apivisibility of TimeType is readonly.</message>

Fields :
<EmployeeTime>

<EmployeeTime>

<externalCode>sdfsdf24123</externalCode>

<startDate>2021-06-05</startDate>

<endDate>2021-06-05</endDate>

<userIdNav>

<User>

<userId>1001</userId>

</User> </userIdNav>

<timeTypeNav>

<TimeType>

<externalCode>2001</externalCode>

</TimeType> </timeTypeNav>

</EmployeeTime>

</EmployeeTime>

Appreciate your support,

Regards,

GS

Accepted Solutions (0)

Answers (1)

Answers (1)

semmeereboer
Explorer
0 Kudos

Hello GS,

The error message <message>[COE0018]can't insert instance! apivisibility of TimeType is readonly.</message> refers to the API visibility of the EmployeeTime object. Can you look up this object in SuccessFactors via Configure Object Definitions and check the value highlighted below? This should read "Editable".

Regards Sem