Formal — to staff
Vending · Machine
You
すみません、この自動販売機がお金を飲み込んでしまって、商品も出てこないし、お釣りも出ないんです。
すみません、このじどうはんばいきがおかねをのみこんでしまって、しょうひんもでてこないし、おつりもでないんです。
Excuse me, this vending machine swallowed my money, and neither the product nor the change came out.
Romaji: Sumimasen, kono jidō-hanbaiki ga okane o nomikonde shimatte, shōhin mo dete konai shi, otsuri mo denai n desu. / Reply Romaji: Ara, taihen desu ne. Dore dore, kakunin shitemimasu. Gomeiwaku o okake shite mōshiwake arimasen.
Reply
あら、大変ですね。どれどれ、確認してみます。ご迷惑をおかけして申し訳ありません。
あら、たいへんですね。どれどれ、かくにんしてみます。ごめいわくをおかけしてもうしわけありません。
Oh dear, that's troublesome. Let me see, I'll check it. I apologize for the inconvenience.
Gesture & etiquette
Point at the vending machine and make a 'money going in, nothing coming out' gesture.
Do not shake or hit the vending machine. Approach staff politely. If no staff, note the machine number and company contact.