79343509

Date: 2025-01-09 17:28:01
Score: 1
Natty:
Report link

Two solutions

1.

const data = XLSX.read(byteArray, { type: 'array' });

changed to

const data = XLSX.read(byteArray, { type: 'buffer' });

The answer from HernanATN also solved my problem and seemed to be more trustworthy to go with a different version of xlsx that is more compatible with GAS

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Scriphy