DataStore:GetAsync failing in studio but not in game?

Before you comment, Yes, I have Enable Studio Access to API Services.

I have this weird either bug in my code, a glitch in Roblox’s system, or something is wrong with my internet. I have this error saying that an Internal Server Error Occured. Sometimes this error does go away and I can actually play my game is studio without my pcall function kicking me.

I have no idea why this is happening.

Another issue that might relate to it is me not being able to use teleport service. It always says that it has failed. Sometimes when I join games it also says “An http error has occured”. I get a ton of lag spikes even though I have stable internet connection with minimun of 20 ping. I did a cmd test using “ping roblox.com” it was completey fine with an average of 60 ping and no packet loss.

Sometimes roblox also says it fails to go through auethentication and then resets all settings
image

Any help is greatly appreciated!