• I agree with the others, try verifying that you are not running the code in two different servers. There is a possibility that, the data value does not exists in one server.