Hi,
The following might help you.
In this case, we need to convert xlsx to GooglSpreadsheet format in advance.
Regards,