Symptom
Error "Excel cannot open the file 'Attachment .xlsx' because the file formation or extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file."
Environment
SAP Cloud for Customer Core Application
Reproducing the Issue
- Navigate to Service.
- Open the Tickets section.
- Locate and open the ticket containing the impacted attachment.
- Download the attachment from the ticket interaction.
- Attempt to open the downloaded file.
- Observe that the file is displayed as an Excel file and fails to open.
Cause
The issue is caused by blank space in the generated file name, the attachment name and the file extension in the email.
Resolution
- Ensure that there are no spaces between the attachment name and the file extension before sending the email.
- Verify that the attachment is properly formatted without spaces in the file name or extension.
- Re-upload the corrected attachment to the ticket interaction if necessary.
See Also
Keywords
pdf attachment, excel file, incorrect file extension, attachment download issue, file fails to open, service request processing, ticket interaction, file name space issue, attachment formatting, file extension error , KBA , LOD-CRM-SRP , Service Request Processing , Problem
SAP Knowledge Base Article - Public