Both of these functions need cellular data to function. (Unless on WiFi). There are typically three things that might cause this to not work.
- The cellular plan does not include “data”, or it has reached a limit set by the plan.
- An AT&T or T-Mobile-based reseller’s SIM card is being used, but the APN is not set correctly in the phone. (Verizon-based plans do not need this, but others need to be manually set correctly under APN Settings).
- The data was accidentally turned off on the phone. (To enable, go to Settings > Connectivity > Mobile Data > Enable Mobile Data. Also make sure Data Saver is OFF).