We should probably handle all 20X responses (Elasticsearch often responds with a 201 instead of a 200) here.