Storage API gives inexplicable "Storage Quota Exceeded" error

I'm getting a "Storage Quota Exceeded" error when adding to the extension's sync storage area. getBytesInUse returns 88824, but trying to add {test: 'test'} gives the error. See attached screen shot.

Safari version is 15.1, macOS version is 12.0.1.

My available disk space is 523GB, so that's not the problem.