Formal — to staff
Vending · Machine · Trouble
すみません、自動販売機がお金だけ取って、商品が出てこないんです。 — Excuse me, the vending machine took my money but didn't dispense the product. (Vending · Machine · Trouble, Formal — to staff, JLPT N4)
You
すみません、自動販売機がお金だけ取って、商品が出てこないんです。
すみません、じどうはんばいきがおかねだけとって、しょうひんがでてこないんです。
Excuse me, the vending machine took my money but didn't dispense the product.
Romaji: Sumimasen, jidōhanbaiki ga okane dake totte, shōhin ga dete konai n desu. / Reply Romaji: Mōshiwake gozaimasen. Dochira no jidōhanbaiki deshō ka? Kakunin itashimasu.
Reply
申し訳ございません。どちらの自動販売機でしょうか?確認いたします。
もうしわけございません。どちらのじどうはんばいきでしょうか?かくにんいたします。
I apologize. Which vending machine is it? I will check.
Gesture & etiquette
Point towards the vending machine if it's visible.
Do not be overly aggressive or demanding. Be polite and patient.