Add naive error check and expected response to mobile