Symptom
Upsert call for the Attachment field of an API entity fails with the following error:
Unexpected error occurred: Upserted failed: Failed upload attachment with the index 0
Environment
SuccessFactors BizX
Reproducing the Issue
1. For example, try the upsert call on the Candidate entity with an attachment
2. The response would look like:
<?xml version="1.0" encoding="UTF-8"?>
-<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>COE_GENERAL_SERVER_FAILURE</code>
<message lang="en-US">Unexpected error occurred: Upserted failed: Failed upload attachment with the index 0</message>
</error>
Cause
The Attachment User Limit is set to a low value as seen in the screenshot below:
This is from Provisioning > Company Settings.
Resolution
Set the
Keywords
KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem