79082451

Date: 2024-10-13 05:30:13
Score: 0.5
Natty:
Report link

I was able to miraculously solve this problem using the "try a bunch of random stuff" approach. The fix turned out to be this... even though the Stripe documentation said:

const meterEvent = await stripe.v2.billing.meterEvents.create({

I ended up trying it like this:

const meterEvent = await stripe.billing.meterEvents.create({

and THAT was the fix.

In other words the error message Stripe returned had nothing to do with the root cause of why it wasn't working in my case.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: king_anton