<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz" -->

---
title: The API That Worked Fine Until It Didn't | daily.dev
description: A personal experience report describes an API that worked fine in dev and SIT but crashed during UAT when a tester sent a larger-than-expected payload,...
canonical: https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The API That Worked Fine Until It Didn't | daily.dev
og:description: A personal experience report describes an API that worked fine in dev and SIT but crashed during UAT when a tester sent a larger-than-expected payload,...
og:url: https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz
og:image: https://api.daily.dev/og/posts/kDL4ButaZ.png
og:image:alt: The API That Worked Fine Until It Didn't
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The API That Worked Fine Until It Didn't

**[Raj Kumar](https://daily.dev/sources/vurmwmx5kchc7vocobisb)** · [@techieraj](https://daily.dev/techieraj) · 2 min read · 0 upvotes · 0 comments

## Summary

A personal experience report describes an API that worked fine in dev and SIT but crashed during UAT when a tester sent a larger-than-expected payload, exposing unanswered questions about payload limits, timeouts, error responses, and resource exhaustion. The story also covers a last-minute client 'small change' request during UAT that rippled into caching, another endpoint, and database changes. The takeaway is that edge cases and non-functional requirements should be documented before SIT, and new requirements during UAT need proper change management rather than being quietly absorbed into the current sprint.

## Content

Had this situation recently that I'll never forget.

There's this API. Works perfectly in dev. Works perfectly in SIT. All our test data flows through it no problem. Everyone's happy. We're ready for UAT.

Then UAT happens.

Tester sends a slightly larger payload. Just to see what happens. API dies. Crashes. Can't handle it.

Suddenly it's emergency mode. We're debugging in production-like environment. The tester found something we completely missed. Last minute. No time to think about solutions.

That's when I realized something obvious: **We should've known this before UAT ever happened.**

Like, actually documented it. Not just assumed.

Before an API hits SIT, someone should've already answered:

- How much data can it actually handle?
- What's the timeout? What happens if it times out?
- If the response is huge, what breaks?
- What happens when resources run out?
- What do error responses actually look like?
- What's the maximum payload size?

These shouldn't be mysteries. They shouldn't be "oh, we'll find out during testing."

But there's another thing that happened too.

Right before UAT wrapped up, the client asked for a "small change." New requirement. Seemed simple. "Just add this to the response."

Except it's never just one thing. That one thing affected caching. Which affected another endpoint. Which needed database changes. Which broke a test we thought was done.

New requirements during UAT don't belong in the current release. They need proper change management. Impact analysis. Time. They can't just quietly become part of the sprint because the client asked nicely.

The lesson that keeps hitting me:

**Good development isn't knowing how to build the happy path. It's asking "what can go wrong?" before the testers find it for you.**

## Similar posts on daily.dev

- [3 REST API Testing Mistakes That Cost Us the Most Time \(and How We Fixed Them\)](https://daily.dev/posts/3-rest-api-testing-mistakes-that-cost-us-the-most-time-and-how-we-fixed-them--kzo04t39p) · SitePoint · 0 upvotes · 0 comments
- [Api Regression Testing: Catch Breaking Changes Early](https://daily.dev/posts/api-regression-testing-catch-breaking-changes-early-8ksh9xzig) · Ruby Flow · 0 upvotes · 0 comments
- [API From Hell Shows Your API Client is Lying to you](https://daily.dev/posts/api-from-hell-shows-your-api-client-is-lying-to-you-ecjmkhtc3) · Evil Tester · 0 upvotes · 0 comments
- [How to Test an API Without a Frontend](https://daily.dev/posts/how-to-test-an-api-without-a-frontend-5phbkfhlw) · Bruno Blog · 16 upvotes · 3 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#architecture](https://daily.dev/tags/architecture)

[View this post on daily.dev](https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz","headline":"The API That Worked Fine Until It Didn't","text":"A personal experience report describes an API that worked fine in dev and SIT but crashed during UAT when a tester sent a larger-than-expected payload, exposing unanswered questions about payload limits, timeouts, error responses, and resource exhaustion. The story also covers a last-minute client 'small change' request during UAT that rippled into caching, another endpoint, and database changes. The takeaway is that edge cases and non-functional requirements should be documented before SIT, and new requirements during UAT need proper change management rather than being quietly absorbed into the current sprint.","url":"https://daily.dev/posts/the-api-that-worked-fine-until-it-didn-t-kdl4butaz","datePublished":"2026-09-27T06:01:00.189Z","dateModified":"2026-09-27T06:01:01.074Z","author":{"@type":"Person","name":"Raj Kumar","url":"https://daily.dev/techieraj","image":"https://media.daily.dev/image/upload/s--NSQrqGJ7--/f_auto/v1779852922/avatars/avatar_vUrMwmx5KchC7VocoBISb?_a=BAMAMiWQ0","description":"I am a full stack developer who is passionate about web development and creating digital products.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":210}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/vurmwmx5kchc7vocobisb","name":"Raj Kumar"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Raj Kumar","item":"https://daily.dev/sources/vurmwmx5kchc7vocobisb"},{"@type":"ListItem","position":3,"name":"The API That Worked Fine Until It Didn't"}]}
```

