Live data from Hacker News

Twilio is erroneously over-billing and suspending accounts

status.twilio.com

111–120 of 123 posts

Re: Twilio is erroneously over-billing and suspending accounts

#111

This is bad. It'll badly affect people with low bank balances and high overdraft charges - it'll be interesting to see how Twilio reimburses people for charges banks levy on customers.

If they void all these transactions you should be fine right?

Re: Twilio is erroneously over-billing and suspending accounts

#112

Earlier quoted context omitted.

You mean you don't want to see a medical supply startup that "moves fast and breaks stuff"? I'm surprised we haven't yet...

Like Soylent?

Soylent hasn't broken anything... yet.

Re: Twilio is erroneously over-billing and suspending accounts

#113

I work in telecom, in a slightly different vein from Twilio's and I deeply empathize with the pain of billing. Even if Twilio's somehow able to ignore the pain of telco engine rating and least-cost-routing, there are still so many places you can make an error and cause something like this. Kudos to Rob and team for owning the issue and I hope the Twilio folks get this sorted out (I'm confident they will). It's worth…

I'd be really interested to know what ends up being the root cause. I know properly transactional databases ain't so popular in some parts of telecom, but it's pretty simple to insert a record of the charge transactionally. Then the only real failure path is the lack of distributed transactions to the credit card processor, but it's unlikely you're going to run into many repeated commit failures.

Re: Twilio is erroneously over-billing and suspending accounts

#115
post #80

Earlier quoted context omitted.

Here's a choice piece of code we have in production along the lines of what you suggest: if prorated_amount > (cost_per_month * 2) raise "critical! we were about to prorate-charge someone #{prorated_amount}" end It's never been triggered, but this is probably the only place in our system where we're actually responsible for an exact amount that ends up on an invoice, so having a reasonable upper limit seems like a no…

What if this code is called multiple times in quick succession? Based on the fact that I got a dozen separate emails over the span of 10 minutes, I'm guessing Twilio's overcharging happened in a series of transactions, not all at once. This code -- while good for catching bad single calculations -- wouldn't catch that.

Well I don't think he was saying "cut and paste this exact code into your codebase" but rather that it is possible to write safeguards such as this... in this case, perhaps checking whether an account has already been billed this month, or whether there is already a transaction pending, or...

We can't prevent every mistake but we can make sure the same one doesn't happen again.

Re: Twilio is erroneously over-billing and suspending accounts

#116

The worst part is that the calls aren't getting updated with prices right away... so if you built a system that relies on getting the price info at the end of the call, you probably aren't pretty happy now.

We are working cautiously on restoring full billing service to all accounts. We are trying to err on minimizing further billing impact to our customers as we restore service and, as such, taking each step carefully.

This will also affect the Usage API for some users. If you would like an immediate update when these are restored, use the OP link (http://status.twilio.com/services/account-portal) or send an email to help@twilio.com.

We're moving as expeditiously as safety allows.

Re: Twilio is erroneously over-billing and suspending accounts

#117
Rob from Twilio again. Our CEO Jeffiel just posted an update on the situation on our blog which can be found here: http://www.twilio.com/blog/2013/07/billing-incident-update.h...

Full text also here:

At 3:28am PDT/11:28am GMT, our monitoring systems reported an anomaly in our billing systems, which resulted in erroneous credit card charges and in some cases account suspensions. This incident affected 1.1% of customer accounts. The on call team immediately began an incident response, using the Twilio status dashboard at status.twilio.com to update customers at regular intervals. By 6:24am PDT/2:24pm GMT all suspended accounts had had service restored. The same problem briefly re-occurred at approximately 12:30pm PDT/8:30pm GMT, affecting 0.3% of customer accounts, which were immediately remedied.

At this time, the Twilio billing system is offline and account-balances are not being updated in real-time until we fully resolve the issue. We are actively processing credit card refunds, and you will see a transaction void or refund on your credit card statement shortly (most banks process these within 24-48 hours). While the billing issue is being resolved, all voice and messaging services continue to operate normally.

In addition to refunding erroneous credit card transactions, Twilio will also be crediting affected accounts an additional 10% of their last 30 days’ spend. We recognize that it’s not about the money, but our responsiveness to the situation that matters to you. If your account was affected, please consider this credit an acknowledgement of the inconvenience we’ve caused you. If affected customers incurred overdraft or over-limit fees due to this incident, we will also make them whole. We are in the process of contacting all affected customers via email. Additionally, we will be releasing a full postmortem on the incident once all events and root causes are known, as well as detailing the corrective steps we’ll be taking.

Our focus is on providing you the best quality service and experience, and we recognize that today’s disruption came up short of what you expect from Twilio. Please accept our apologies and know it is our mission to always be earning your trust and business.

As many have you have pointed out on Twitter, this is not a fun day for our team, and especially our engineers. We appreciate your support and your patience.

Sincerely, Jeff Lawson CEO & Co-founder

Re: Twilio is erroneously over-billing and suspending accounts

#118

The worst part is that the calls aren't getting updated with prices right away... so if you built a system that relies on getting the price info at the end of the call, you probably aren't pretty happy now.

We are working cautiously on restoring full billing service to all accounts. We are trying to err on minimizing further billing impact to our customers as we restore service and, as such, taking each step carefully. This will also affect the Usage API for some users. If you would like an immediate update when these are restored, use the OP link ( http://status.twilio.com/services/account-portal ) or send an email to…

Thanks, I have been in touch with my account manager... just making a note that developers should consider this type of failure to try and build resilient systems using Twilio.

Re: Twilio is erroneously over-billing and suspending accounts

#120

Earlier quoted context omitted.

We are working cautiously on restoring full billing service to all accounts. We are trying to err on minimizing further billing impact to our customers as we restore service and, as such, taking each step carefully. This will also affect the Usage API for some users. If you would like an immediate update when these are restored, use the OP link ( http://status.twilio.com/services/account-portal ) or send an email to…

Thanks, I have been in touch with my account manager... just making a note that developers should consider this type of failure to try and build resilient systems using Twilio.

Good to know.

Very sorry again.

Post reply on HN