Streams API is crashing my bot

It is a good idea to try catch JSON.parse though you should be checking that the request succeeded before trying to process the data, because it looks like it was trying to parse an empty string, which would suggest there was an error making the request in the first place.