You’re using querystring parameters wrong. You only use the ? symbol once, at the end of the endpoint path to indicate the start of the querystring, and then you use an ampersand & between each param.
So instead of ?user_id=${streamID}?type=archive try ?user_id=${streamID}&type=archive