So it looks like this is the cause of the build failures.

What should we do here if `response` is undefined? Is it a StatusFailError, or something else entirely?