Unexpected record 0x3b error when reading buffer #3286
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#3286
Loadingâ¦
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?

Trying to read an .xlsb file as a buffer and running into a an error that states
Unexpected record 0x3b.Having no problems with other similarly formatted files. Hoping that you all might have a better idea as to the underlying issue here as I've been unable to dig up any answers.
Thanks
0x3Bis part of Excel's binary format it could be related toBrtIndexedColorrecord inBIFF12spec, if so it could be part of the color palette definition. If possible, can you please share the file you were trying to read and the options you were using while reading it?If you can share the file, we can take a closer look. If you can't, please try reading with the option
WTF: 1and share the error.Hi, unfortunately we were not able to get a file that we can share to duplicate the error but I ran it with these options
{ type: 'buffer', cellDates: true, WTF: true }and this is the error that was given:Thank you for sharing this! We've identified the issue this error is omitting because SheetJS-CE is not checking for the record
BrtStr.We've noted this and will work on adding support for it.
0x3b=592.3.2 By NumberGreat, thanks!
It looks like Microsoft had a bad docs update earlier this month (version 20.0, 2025-04-04). There are numerous references to ABNF grammar files that were never added to the docs. For example, https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-xlsb/be874d90-2b52-4141-b7d7-d33426a615f3 merely states
The upcoming commit should cover the records through version 19.0 (2025-02-18).