Added check if the action response can be converted to strinng