Foo Developer created FINERACT-2729:
---------------------------------------

             Summary:  Bulk import rejects .xlsx files (e.g. downloaded from 
Google Sheets)
                 Key: FINERACT-2729
                 URL: https://issues.apache.org/jira/browse/FINERACT-2729
             Project: Apache Fineract
          Issue Type: Bug
          Components: Client, Organization
            Reporter: Foo Developer
            Assignee: Foo Developer
         Attachments: image-2026-07-31-16-01-13-514.png

The bulk import endpoint ({{{}BulkImportWorkbookServiceImpl.importWorkbook{}}}) 
only accepts legacy {{.xls}} Excel files. Modern {{.xlsx}} files (e.g., 
exported from Google Sheets) are rejected with:

 

{{error.msg.invalid.file.extension: Uploaded file extension is not recognized.}}

Additionally, the implementation always uses {{{}HSSFWorkbook{}}}, which cannot 
parse {{.xlsx}} files.
h2. Expected Behavior

Support both {{.xls}} and {{.xlsx}} uploads by accepting the OOXML MIME type 
and using the appropriate workbook parser.


h2. Verification

Verified using {{POST /clients/uploadtemplate}} with a {{.xlsx}} file exported 
from Google Sheets. The file is accepted and parsed successfully, and the 
request proceeds to normal business validation.

!image-2026-07-31-16-01-13-514.png|width=391,height=357!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to