Skip to content

Document Idempotency Behaviour for 429 Rate-Limited Responses - #1842

Merged
Codat-Sean merged 3 commits into
mainfrom
Idempotency-Doc-Updates
Jun 4, 2026
Merged

Document Idempotency Behaviour for 429 Rate-Limited Responses#1842
Codat-Sean merged 3 commits into
mainfrom
Idempotency-Doc-Updates

Conversation

@Codat-Sean

Copy link
Copy Markdown
Contributor

Description

Adds a new "Rate-limited requests and idempotency" section to the Idempotency page
(docs/using-the-api/write-data/idempotency.md).

It documents that Codat does not cache 429 Too Many Requests responses against an Idempotency-Key. Because a
rate-limited request is never processed, the response is not stored and the key is released, so clients can safely
retry with the same Idempotency-Key once the limit clears - the retry is forwarded as a fresh attempt rather
than replaying the earlier 429 from the cache. This applies to both Codat's own rate limits and those of the
underlying financial platform.

The section also adds guidance to honour the Retry-After header and reuse the original key (so the eventual
successful write stays protected against duplication), and clarifies that this behaviour is specific to 429 - other
4xx and 5xx responses continue to be cached and replayed as before. Cross-links to the existing Rate limits page.

Prettier and cspell checks pass. No images added.

Type of change

  • New document(s)/updating existing

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codat-docs Ready Ready Preview, Comment Jun 4, 2026 8:35am

Request Review

Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
Comment thread docs/using-the-api/write-data/idempotency.md Outdated
@Codat-Sean
Codat-Sean marked this pull request as ready for review June 3, 2026 16:47
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Link check results for preview deployment (https://codat-docs-git-Idempotency-Doc-Updates-codat.vercel.app):

[
  "[401] https://codat-docs-git-idempotency-doc-updates-codat.vercel.app/"
]

@Codat-Sean
Codat-Sean merged commit 22e6563 into main Jun 4, 2026
8 of 9 checks passed
@Codat-Sean
Codat-Sean deleted the Idempotency-Doc-Updates branch June 4, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants