From c6a62d930f0171037197d9386f4559e1a8b68a39 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Tue, 26 May 2026 17:27:48 -0700 Subject: [PATCH] docs(spec): document REQUEST_ID_MISSING error code (401) Follow-up to PR #500. webdev PR #27767 added a new REQUEST_ID_MISSING ErrorCode (401) so that signed-retry endpoints can distinguish 'I forgot the Grid-Wallet-Signature header' from 'I forgot the Request-Id header'. SDK clients need this in the Error401 enum to surface the distinction. Refs AT-5342 --- mintlify/openapi.yaml | 2 ++ openapi.yaml | 2 ++ openapi/components/schemas/errors/Error401.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 991c63ec..a68f2e41 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -8110,6 +8110,7 @@ components: | WALLET_SIGNATURE_MALFORMED | The `Grid-Wallet-Signature` header could not be parsed (bad encoding, structure, or fields) | | WALLET_SIGNATURE_BODY_MISMATCH | The `Grid-Wallet-Signature` was computed over a different request body than the one received | | WALLET_SIGNATURE_INVALID | The `Grid-Wallet-Signature` failed cryptographic verification against the registered credential | + | REQUEST_ID_MISSING | The `Request-Id` header is required on the signed retry but was not supplied (paired with `Grid-Wallet-Signature`) | enum: - UNAUTHORIZED - INVALID_SIGNATURE @@ -8117,6 +8118,7 @@ components: - WALLET_SIGNATURE_MALFORMED - WALLET_SIGNATURE_BODY_MISMATCH - WALLET_SIGNATURE_INVALID + - REQUEST_ID_MISSING message: type: string description: Error message diff --git a/openapi.yaml b/openapi.yaml index 991c63ec..a68f2e41 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8110,6 +8110,7 @@ components: | WALLET_SIGNATURE_MALFORMED | The `Grid-Wallet-Signature` header could not be parsed (bad encoding, structure, or fields) | | WALLET_SIGNATURE_BODY_MISMATCH | The `Grid-Wallet-Signature` was computed over a different request body than the one received | | WALLET_SIGNATURE_INVALID | The `Grid-Wallet-Signature` failed cryptographic verification against the registered credential | + | REQUEST_ID_MISSING | The `Request-Id` header is required on the signed retry but was not supplied (paired with `Grid-Wallet-Signature`) | enum: - UNAUTHORIZED - INVALID_SIGNATURE @@ -8117,6 +8118,7 @@ components: - WALLET_SIGNATURE_MALFORMED - WALLET_SIGNATURE_BODY_MISMATCH - WALLET_SIGNATURE_INVALID + - REQUEST_ID_MISSING message: type: string description: Error message diff --git a/openapi/components/schemas/errors/Error401.yaml b/openapi/components/schemas/errors/Error401.yaml index 508f56ba..7b6e80aa 100644 --- a/openapi/components/schemas/errors/Error401.yaml +++ b/openapi/components/schemas/errors/Error401.yaml @@ -20,6 +20,7 @@ properties: | WALLET_SIGNATURE_MALFORMED | The `Grid-Wallet-Signature` header could not be parsed (bad encoding, structure, or fields) | | WALLET_SIGNATURE_BODY_MISMATCH | The `Grid-Wallet-Signature` was computed over a different request body than the one received | | WALLET_SIGNATURE_INVALID | The `Grid-Wallet-Signature` failed cryptographic verification against the registered credential | + | REQUEST_ID_MISSING | The `Request-Id` header is required on the signed retry but was not supplied (paired with `Grid-Wallet-Signature`) | enum: - UNAUTHORIZED - INVALID_SIGNATURE @@ -27,6 +28,7 @@ properties: - WALLET_SIGNATURE_MALFORMED - WALLET_SIGNATURE_BODY_MISMATCH - WALLET_SIGNATURE_INVALID + - REQUEST_ID_MISSING message: type: string description: Error message