"AddLeave" API Call Doesn't Work

"AddLeave" API Call Doesn't Work

Hi all,

I'm trying to invoke the addLeave method in Zoho-People API but get the following error message.

[
    {
        "message": [
            {
                "otherErrors": "Problem while adding data."
            }
        ],
        "Response": 2,
        "code": 7033
    }
]

The xmlData which is used for the API call is as follows.

<Request>
<Record>
<field name='Employee_ID'>278557000000054003</field>
<field name='To'>12-Sep-2014</field>
<field name='From'>12-Sep-2014</field>
<field name='Leavetype'>casual</field>
</Record>
</Request>

What can be the reason for this error?

Thanks in advance.