r/webdev • u/hongkizzle8888 • Nov 02 '26
When a third-party API breaks your app, what usually tells you first?
For context, I've built an API monitoring tool, but paused development to talk to people rather than keep guessing what they need.
If you're running a production app that depends on external APIs, how do you find out when one stops working properly?
Thinking about the last time it happened, was it an obvious failed request, or did the API look fine while returning something your app couldn't use? What caught it first?
What do you rely on now: error tracking, the provider's status page, separate checks, something else? Does that cover it, or is there something you still end up checking manually?
I'm also curious whether knowing earlier would have helped, or whether you were stuck waiting for the provider either way.
A bit of context about your app and team size would help.
6
u/howdoigetauniquename Nov 02 '26
Just using sentry, or something like it to track errors.
It's not that complicated.
If you can, it's best to wrap any external api you use with your own.
That way you can completely control the responses that get sent to your app.
1
u/iligal_odin Nov 02 '26
If the 3rd party api breaks my site is fine and queues requests
1
u/Standard_Scarcity_74 Nov 03 '26
Our error tracker usually catches it first, but the worst cases are when the api returns a 200 with empty or changed data, and those only surface when a user complains or a business metric dips. Provider status pages are almost always late, so we added a few scheduled checks that call the api and validate the shape of the response, plus alerts on error rate and latency for outbound calls. Knowing earlier helps even when you can’t fix it, because you can switch on cached data, a fallback, or a banner before customers notice.
1
u/[deleted] Nov 03 '26
[removed] — view removed comment
0
u/[deleted] 29d ago •
[removed] — view removed comment