/Knowledge/sources/honojs__hono/llms-full/request-id-middleware-platform-specific-request-ids--b6765352b97d.md
Request ID Middleware: Platform specific Request IDs - hono-docs
Request ID Middleware: Platform specific Request IDs Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt p...
Request ID Middleware: Platform specific Request IDs
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#platform-specific-request-ids
Summary
Some platform (such as AWS Lambda) already generate their own Request IDs per request. Without any additional configuration, this middleware is unaware of these specific Request IDs and generates a new Request ID. This can lead to confus...
Content
Some platform (such as AWS Lambda) already generate their own Request IDs per request. Without any additional configuration, this middleware is unaware of these specific Request IDs and generates a new Request ID. This can lead to confusion when looking at your application logs.
To unify these IDs, use the generator function to capture the platform specific Request ID and to use it in this middleware.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#platform-specific-request-ids",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Request ID Middleware > Platform specific Request IDs",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 345,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Request ID Middleware: Platform specific Request IDs",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}