Marketplace currently unavailable (greyed out)

As the title says, the marketplace icon is greyed out and it says “Marketplace is currently unavailable” when I was about to get the WU Brazil. I tried turning online functionalities off and on again and nothing works.