use env vars for endpoint_spec
raise error if initial feed submission returns error response