"Updating date-effective attribute is not allowed". Error encountered in AI Agents
I have configured an agent for Grade Creation using the GradesV2 API, and the payload is as follows:
{
"GradeCode": "{GradeCode}",
"Name": "{Name}",
"ActiveStatus": "A",
"SetCode": "{SetCode}",
"EffectiveStartDate": "{EffectiveStartDate}"
}
However, The agent is throwing following error
"Updating date-effective attribute is not allowed. Please remove the following attribute from the payload: EffectiveStartDate."
When I pass the Effective-Of header with RangeStartDate=1951-01-01, the grade is created with the specified RangeStartDate. But my requirement is for the grade to be created with the EffectiveStartDate provided by the user in the chat.
If anyone has any insights or solutions, please share.
Tagged:
0