Formal — to staff
Vending · Machine · Issue
すみません、あの自動販売機がお金だけ飲んで、商品が出てこないのですが。 — Excuse me, that vending machine took my money, but the product didn't come out. (Vending · Machine · Issue, Formal — to staff, JLPT N4)
You
すみません、あの自動販売機がお金だけ飲んで、商品が出てこないのですが。
すみません、あのじどうはんばいきがおかねだけノンで、しょうひんがでてこないのですが。
Excuse me, that vending machine took my money, but the product didn't come out.
Romaji: Sumimasen, ano jidōhanbaiki ga okane dake nonde, shōhin ga dete konai no desu ga. / Reply Romaji: Taihen mōshiwake gozaimasen. Sugu ni kakunin itashimasu. Henkin itashimasu ne.
Reply
大変申し訳ございません。すぐに確認いたします。返金いたしますね。
たいへんもうしわけございません。すぐにかくにんいたします。へんきんいたしますね。
I am very sorry. I will check it immediately. I will give you a refund.
Gesture & etiquette
Pointing at the vending machine, showing empty hands (or wallet) if appropriate.
Do not hit or kick the machine. Calmly explain the situation to nearby staff.