My ip address apparently is being blocked by CloudFront. I changed it 16 days ago, and recently it got blocked again. The error occurs in the API https://api.minecraftservices.com/minecraft/login and also in https://api.minecraftservices.com/minecraft/profile
Please report a support case with your IP here: https://help.minecraft.net/hc/en-us/requests/new