If you come across this situation the simple fix could be to switch off your handset and switch it on again.
The next thing is to check whether you have turned on Data Roaming option. If not, turn it on.
The next one (this worked for me) is to go to settings and type in "internet" as APN name.
If you are randomly shifting from one network to another, manually select idea network from settings.