Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
AI Integration

The Six Places Integrations Actually Fail

Last updated:

Credentials expire at the worst time

API keys rotate, OAuth tokens expire, certificates lapse. The integration stops, often quietly, and is noticed days later.

Monitor credential expiry as a first-class alert with thirty days' notice, and handle token refresh properly rather than assuming it works.

Rate limits bite at peak

You will never hit a rate limit during testing. You will hit it on the busiest morning of the month, which is also when nobody has time to investigate.

Queue, back off and retry rather than failing. And know the limit before designing the batch sizes.

Upstream formats change without warning

  • A supplier redesigns their invoice template
  • A vendor adds a field and reorders the export
  • A date format changes from one convention to another
  • An encoding changes and accented characters break

Validate structure on every input and alert on anything unexpected rather than processing it optimistically.

Duplicate writes

A retry after a timeout that actually succeeded creates two records. It is the most common data corruption in integrations and it is entirely preventable with an idempotency key.

Derive the key from the source document so the same input can never produce two outputs.

The last two

  1. Index staleness — answers drawn from documents that changed weeks ago
  2. Cost creep — prompts growing gradually until the bill has doubled

Both are invisible without monitoring and both are trivial to catch with it.

Frequently asked questions

Which of these is most common?

Credential expiry, comfortably. It is also the easiest to prevent and the one most often left unmonitored.

How do we detect a silent failure?

Alert on absence — zero output where output is normal. It is the single most valuable alert in any integration.

Should we build all these guards initially?

Idempotency and structure validation, yes, always. The monitoring can follow in the weeks after launch, and should not slip further.

Can you audit an existing integration for these?

Yes. It is a short piece of work and it usually finds at least two of the six unguarded.

Keep reading

Have an integration that fails occasionally?

It is almost certainly on this list. Tell us how it presents and we will tell you which one.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI IntegrationEnterprise AIAI Agents