Streams API is crashing my bot

empty string. “”
just “”.

A string with nothing in it is still an object, not null.