Error variant comments and the requirements table give HTTP 403 or 404 for errors that ExtendDB and DynamoDB answer with HTTP 400

オープン 初心者向け
#1,288 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

crates/core/src/error/mod.rs にある DynamoDbError::status_code を3つのバリアントのドキュメントコメントと合わせて読み、docs/design/01-requirements.md のエラーテーブルと比較してください。矛盾するステータスの説明を更新し、issue に記載された HTTP 400 の動作に一致させてください。3つのバリアントとテーブルの項目すべてが status_code と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

DynamoDbError::status_code in crates/core/src/error/mod.rs returns HTTP 400 for UnknownOperationException, IncompleteSignature and UnrecognizedClientException. Its comments say that DynamoDB answers these with 400. The doc comments of the three variants, and the error table of docs/design/01-requirements.md, give another status.

Error Doc comment in crates/core/src/error/mod.rs docs/design/01-requirements.md Status that ExtendDB and DynamoDB send
UnknownOperationException SP-ERR-002: HTTP 404. (line 79) 404 (line 128) 400
IncompleteSignature SP-ERR-002: HTTP 403. (line 89) 403 (line 111) 400
UnrecognizedClientException SP-ERR-002: HTTP 403. (line 92) 403 (line 129) 400

Measured in us-east-1 on 21 Nov 2026, each request twice with the same answer both times, DynamoDB answered HTTP 400 in these cases:

  • IncompleteSignatureException, for DescribeTable requests with a malformed Authorization header.
  • UnrecognizedClientException, for a well-formed header with an unknown access key.
  • UnknownOperationException, for a request with no X-Amz-Target. ExtendDB at f0170bde8 sends the status that status_code returns, HTTP 400.

The fix for #1075 changes the same two lines for MissingAuthenticationToken to 400.

主要言語
Rust
スター
517
フォーク
60
平均マージ
4日 23時間
マージ済み PR(30日)
134

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExtendDB/extenddb のほかの issue

ExtendDB/extenddb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。