throw error if InputStream is constructed without a request
add input_stream_spec