check for ERROR state from the data_retrieval service (else, infinite
loop!)
 Please enter the commit message for your changes. Lines starting