Symptom
- Getting the error "The file size of XXX exceeds the maximum file size limit of 5,000 kilobytes" when the file size is less than 5 MB.
- Getting the error "The file size of XXX exceeds the maximum file size limit of 100,000 kilobytes" when the file size is less than 10 MB.
- Is Attachment max file size limit stored using binary or decimal?
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Submit a file with a size less than 5,242,880 bytes (5 MB in binary).
- Observe the error message "The file size of XXX exceeds the maximum file size limit of 5,000 kilobytes".
Resolution
The attachment max file size limit in SuccessFactors is 5,000 kilobytes (5 MB in decimal) or 10,000 kilobytes (10 MB in decimal).
However, the system evaluates the file size in bytes after converting kilobytes to bytes using binary.
- 5MB -> 5,000 kilobytes (decimal) -> 5,120,000 bytes (binary)
- 10MB -> 10,000 kilobytes (decimal) -> 10,240,000 bytes (binary)
As a result, files exceeding 5,120,000 bytes or 10,240,000 bytes are rejected.
Tip: To check the file size in bytes, right-click the file, select Properties, and review the size displayed in bytes.
See Also
Keywords
attachment, file size, limit, COE0019, binary, 5000 kilobytes, 5 MB, decimal, 100000 kilobytes, 10 MB, 5242800 bytes, 5120000 bytes , KBA , LOD-SF-PLT-DOC , Document Management , LOD-SF-RCM-API , Webservices & APIs , Problem
SAP Knowledge Base Article - Public