The consoles require an extra subscription for online games.
Yes i have xbox live that shouldn't be the problem
Then check the LAN cable whether it is properly plugged in. If you don't have a LAN cable but Wi-Fi, then it is usually the easiest way to get a cable.
Have Wi-Fi weird because other online games work
Tell me straightaway. In such a case you do a file repair from GTA with no idea how to do it on Xbox. If you do not find out how to do this, you can only uninstall and reinstall.