ATMs in Japan

Hi. None of the ATMs in Tokyo gave me money. My GF’s MasterCard worked in the international ones.
Revolut MasterCard was refused everywhere not even getting to PIN screen. I even used the ATM locator. At least paying at restaurant worked with the card, but there are so many cash-only places.