Error messages hide the server's reason: users see only '400 Bad Request'
メンテナーはふだん 1 日以内に返信
@aman-code-io がすでに取り組んでいます。
2026年12月3日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
app/src/lib/stac-api/client.tsの104行目付近から、StacApiError.detailがどのように取得されるかをたどり、次に失敗を表示するtoastと共有エラーパネルを見つけてください。detailのリストがどのように表現されるかを確認し、detailのリストを含む400レスポンスのテストを追加または更新してください。toastとパネルの両方にフィールドと理由が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Found in the 2026-11-29 whole-repo review. Reported by a reviewer from reading the code.
Problem
app/src/lib/stac-api/client.ts (~line 104) captures the catalog's explanation in StacApiError.detail, but no component ever displays it. Toasts read "Create failed: STAC API error: 400 Bad Request". For validation errors the detail is a list but is typed as text.
How it goes wrong
A duplicate id or an invalid field gives the user nothing to act on. (This is how #80 looks to a user.)
Suggested fix
Format the detail (including lists) into the error message and show it in toasts and the shared error panel.
Acceptance criteria
- Test: a 400 with a detail list renders the field and reason
- 主要言語
- Python
- スター
- 0
- フォーク
- 2
- 平均マージ
- 8時間 26分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TechTraverse/stac-higher のほかの issue
-
ci
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
TechTraverse/stac-higher#261 ·
メンテナーはふだん 1 日以内に返信
-
ready
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TechTraverse/stac-higher#258 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TechTraverse/stac-higher#225 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TechTraverse/stac-higher#216 ·
メンテナーはふだん 1 日以内に返信
-
queue: container images (C) ready
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
TechTraverse/stac-higher#66 ·
メンテナーはふだん 1 日以内に返信
TechTraverse/stac-higher の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信