Article
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.
Insights
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.
Between mid-August and early September 2026, the Meta Conversions API stopped working for Shop Simply, and nothing told us. The ads kept running and the money kept leaving. For about three and a half weeks of that spend, Meta could not connect a registration on our side to the ad that produced it.
This is the postmortem: the situation, what broke, what fixed it, the lesson, and the rules I now apply to any credential that a machine depends on.
Shop Simply sells online shops to South African small sellers, and part of how it finds them is paid advertising on Facebook and Instagram. Meta’s ad system optimises delivery towards the people most likely to do the thing you care about. For Shop Simply, that thing is a merchant registering.
There are two ways to tell Meta that a registration happened. The browser pixel fires in the visitor’s browser, where ad blockers and privacy settings can stop it. The Conversions API sends the same event from the server, which is more reliable and is what Meta recommends alongside the pixel. Shop Simply’s server sends a Conversions API event when a merchant registers.
Each of those server calls is authorised by an access token. That token is the credential this story is about.
The Conversions API credential stopped working, and the failure was silent from every angle being watched.
Where the fix had to go tells you where the weakness was. The credential depended on a person’s Facebook login rather than on an identity that exists only for the integration. A personal login is exposed to all the ordinary things people do: logging in again, changing a password, reconnecting an app. Any of those can invalidate what was issued under it, and none of them looks like an outage.
Moved the credential to a system user. Meta Business Manager supports system users: identities that belong to the business, not to a person, and are meant for server-to-server integrations. The Conversions API credential is now held by a purpose-built system user that exists for this integration and nothing else. A personal Facebook re-login can no longer invalidate it.
Marked the window as unreliable. Any ad-performance reading from that window is treated as untrustworthy. Cost per registration, creative comparisons and audience results from those weeks are not used for decisions, because the counts underneath them are wrong. It is tempting to adjust the numbers. A gap you know about is better than an estimate that looks like data.
Checked the source, not the notes. After the fix, an internal note still described the token as one that had “never worked”. It had started working. Anyone acting on that note would have treated a working, load-bearing credential as broken and expendable, and the obvious next step would have been to reconnect it, possibly under a personal login again. The rule now is to re-read the system itself before acting on a recorded breakage.
A credential that a machine depends on should never depend on a person.
That sounds obvious written down. In practice, integrations are usually set up by a person, in a browser, logged in as themselves, on the day the integration is needed. The token works, the events flow, and the set-up is never revisited. The integration now has a hidden dependency on that person’s session, and the failure is not loud. The integration quietly stops while everything around it keeps going.
Attribution makes this worse, because attribution failures do not look like failures. A missing conversion looks exactly like an ad that did not convert. Nobody gets an error. You get a worse cost per result and a reasonable-sounding explanation for it.
Keep an inventory of machine credentials and their owners. For each integration, write down which identity holds the token: a system user, a service principal, a managed identity, or a person. Anything held by a person is a defect waiting for a password change.
Check the owner before you re-authenticate anything. When an integration looks broken, the first question is whose credential it uses. Re-authenticating a system user’s token is harmless. Re-authenticating as yourself to get things moving can quietly move the dependency back onto a person, which is how this problem starts.
Monitor the outcome, not the call. Your server’s logs prove that a call was made. They do not prove that the event counted. Watch what arrives on the platform’s side: the number of server events received per day. A day with registrations in your database and no server events in the ad platform is an alarm, and it is cheap to compute.
Compare two sources that should agree. Put registrations in your own database next to conversion events in the ad platform, day by day. They will never match exactly, because of consent and timing. They should never fall apart completely.
Date every recorded breakage, and re-verify before acting. A note that says “broken” was true on the day it was written. Treat it as a pointer to go and look, not as a fact you can act on.
About three and a half weeks of ad spend that cannot be evaluated. The money bought impressions and registrations. What it did not buy is knowledge: which ads worked, which audiences responded, what a registration really cost. Every decision about budget and creative from that period has to wait for clean data from after the fix.
That is the real price of a silent failure. Not that something stopped, but that you kept paying while it was stopped and cannot tell what you got.
The same shape, at a smaller scale, is in the API that returned success for a reply that never existed. If you run integrations like this and want someone to check who holds which credential, that is part of a code and security review. On Azure the same question is about managed identities and service principals, and it is where Azure and cloud work usually starts.

Founder
Principal Engineer and Founder, Tech Mage
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.
Send an enquiry with what the system does and what worries you about it. We usually reply within one business day.