Live data from Hacker News

Ask HN: We screwed up with the Google Maps API and now have a significant bill

news.ycombinator.com

1–10 of 29 posts

Ask HN: We screwed up with the Google Maps API and now have a significant bill

#1
We recently found that requests using our Google Maps API key was blocked by Google due to an unpaid bill, so we now owe Google $20.000.

What happened was that at some time around the end of 2019 the credit card expired and nobody noticed it. The API just kept on working for our services, so we assumed everything was fine and we were probably within the free tier. The card was added and account configured by someone not working on the project anymore.

Then recently the service just stopped working and after a bit of digging around, we found that the account had racked up a bill of $20.000 since the end of 2019. Slowly and steady each month. It was nice enough of Google to give us quite the credit period there, but as it turns out after inspecting the cost breakdown, someone else must have been using the key since a lot of the requests were to API endpoints totally unrelated to the services we provide.

We screwed up big time by having an unrestricted key configured. It was setup in 2017 way back when things were free, so I doubt anybody actually thought about abuse of the key at that time, but none the less, here we are having our key abused.

Do we even have a chance here? Did anyone get into a similar situation? I would be grateful for a little bit of advice about how to approach Google. I realize this is our fault, but at the same time, it seems we never got any payment reminders or notifications that we had bills overdue - at least we cannot find them anywhere.

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#3
Time to get a lawyer, pore through the terms of service, etc.

A broken / blocked key should not result in this happening. It's a failure of the software. You should also be able to get the IPs that your account was connecting from, and disavow those that are not yours.

Divest yourself from Google and don't pay the bill if there's any way out of it.

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#4
post #2

I'm sorry this happened to you. Many people were shocked at their map api bill following google making it a paid service. We certainly did and now we don't use them any more.

Can you please recommend a good alternative?

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#7
I've had unintentional usage for few hundreds dollars. After explaining the situation and setting API limits the bill was cancelled. Your situation seems a bit different. But maybe explaining the situation and asking for help first is the best option.

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#8
post #2

I'm sorry this happened to you. Many people were shocked at their map api bill following google making it a paid service. We certainly did and now we don't use them any more.

Can you please recommend a good alternative?

Mapbox is far cheaper, has a good free tier, and has the highest-res satellite imagery I could find.

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#9
post #2

I'm sorry this happened to you. Many people were shocked at their map api bill following google making it a paid service. We certainly did and now we don't use them any more.

Can you please recommend a good alternative?

Mapkit is pretty good.

https://developer.apple.com/maps/web/

Re: Ask HN: We screwed up with the Google Maps API and now have a significant bill

#10

Earlier quoted context omitted.

Can you please recommend a good alternative?

Mapbox is far cheaper, has a good free tier, and has the highest-res satellite imagery I could find.

Would it be interesting to explore using all services in a round-robin fashion and fully take advantage of all free tiers? Not sure if it's too much trouble for the possible benefits.
Post reply on HN