Revert "Trying to map statusCode to status[0].state -> fail"

This reverts commit 7ecd5a9b5d81dbd91233a7933ffadf643198c659.