Silent API failure: the reply that said success and never existed
An API returned success and a comment ID for a reply that never existed. What broke, how it was found, and why verifying writes beats trusting the response.
On 16 September 2026 I went looking for a reply on a social media thread and it was not there. The API that posted it said it was. It had returned success and a comment ID, the same response it gives for every reply that lands. That is the most dangerous kind of silent API failure: the API returns success but nothing happened, and every check that trusts the response agrees with it.
This is a postmortem of that incident: the situation, what broke, what changed, the lesson, and the habit that would have caught it on the first day.
The situation
Shop Simply, one of the Tech Mage products, advertises on Facebook and Instagram. Its social channels are run day to day by AI agents working to written procedures, with me approving anything that matters. One of their jobs is answering people who comment.
Until 16 September 2026 that job covered the organic page only. Comments under paid ads were read by nobody. When the agents started reading them, they found people who had asked questions in public, under ads that were still spending money, and who had waited days for an answer. One of them was reporting that the product was broken.
So the agents replied. Most replies went to top-level comments, and those landed. Some were replies to replies: a person had commented on someone else’s comment, and the answer belonged in that nested thread.
What broke
The reply endpoint of the social scheduling tool accepted the nested replies and answered with success: true and a commentId. The agent logged the comment ID and moved on, which is exactly what any reasonable client does with a success response.
The replies were not there. The thread was read again, and again a minute later. Both reads showed the original nested comment and nothing under it. Top-level replies through the same endpoint were fine. Replies to nested comments returned success and produced nothing.
The response and the system of record disagreed. Only the second read told the truth.
Two things made this hard to see.
First, the response was not just “OK”. It carried an identifier. An ID feels like proof that a record was created somewhere, so nobody thinks to doubt it. Here it was proof of nothing.
Second, the usual monitoring could not see it either. A post’s comment count does not change when someone replies to a reply, and a nested comment is invisible until you open the thread. A check that counts top-level comments reports the same number whether the answer is there or not. The instrument and the fault were blind in the same place.
What changed
The fault sits in someone else’s API, so the fix was a change of procedure rather than code.
A reply counts as sent only when the thread shows it. Re-reading the thread is the only reliable confirmation. The comment ID in the response is still logged, but it is no longer the evidence.
Paid ad comments are read on every run. The channel that nobody watched is now part of every pass, not an occasional check.
Counts are not coverage. A comment count cannot show a reply to a reply, so it is not used to decide whether a thread needs attention.
None of this needed the vendor to fix anything. It needed us to stop treating a success response as a fact about the world.
The lesson
A success response is a claim about your request, not about the state of the system. It says the server received the call and did not raise an error on the way out. It does not say that the thing you wanted now exists.
Most of the time those are the same. The cases where they differ are the ones that hurt: queues that accept work and drop it, webhooks that acknowledge and never process, batch endpoints that report success for the whole batch while skipping rows, and replies that come back with an ID for a record nobody can find. In every case the client did nothing wrong by its own rules. It trusted a 200.
How to avoid it
Verify writes that matter. After a write whose absence would cost you (a reply to a customer, a payment instruction, a permission change), read the record back from the system of record. Not from a cache, and not from your own log of what you sent. If the read does not show it, the write did not happen, whatever the response said.
Make the check idempotent, and the retry safe. Read-back verification only helps if you can act on a failed check, and acting usually means retrying. A retry must be safe to run twice. Use the API’s idempotency key if it has one. If it does not, make the write conditional: before writing, look for the record you are about to create; after writing, look again. Then a retry after a false success cannot duplicate a first write that has already landed.
Separate “accepted” from “applied” in your own logs. Record the response, and record the verification as its own event. When the two disagree, that disagreement is the alert. On this incident, one log line that said “accepted, not visible on re-read” would have pointed straight at the fault.
Test the edges of the API, not just the middle. Replies to top-level comments always worked. The failure lived in one shape of request: a reply to a reply. When you integrate with an API, list the shapes of request your client actually sends, and check each one once against the real system by reading the result.
Distrust instruments that cannot see the fault. Before relying on a metric, ask what it would show if the thing you fear happened. A comment count would have shown nothing. If the honest answer is “the same number either way”, that metric is not monitoring that risk.
What it cost
The direct cost was small. The indirect one is the point: for as long as the client trusted the response, the records said a person had been answered when they had not. A support process that ends at “the API said success” can be wrong for days without anyone noticing, because nothing in it is designed to notice.
The fix is cheap. It is one more read, done every time, by the same process that did the write.
Andre Trollip is the principal engineer and founder of Tech Mage. He has shipped software for about 25 years, across life insurance, fintech, logistics and FMCG. You work with him directly, with trusted specialists when the work needs them.
Prubex went from a written spec to a paid launch in 9 days, built by AI agent teams with 150 of 150 requirements traced to tests. How it worked, and its limits.
A Conversions API credential broke silently and about three and a half weeks of ad spend could not be attributed. What failed, the fix, and how to avoid it.