#BadRequest
作成中のサンプル
スレッド投稿の場合、プレビューのページでスレッドを表示できるようにしようとしている
クロスポストを全部リンクに詰め込むって意味で、一貫性があるかなって
skyshare.nekono.dev/entries/did:...
ねこの 's Post
#SkyshareUpdate 2.0.0-preview.r08 - Bluesky同様、投稿への反応を変更できるようになりました(画像参照) - 画像にAltをつける機能/画像一枚ずつを削除する機能をv1から復帰させました。 - 「クロップ調整」を「サムネ調整」に名前を変更しました。また、サムネ調整ダイアログのUIを改善しました。 - 一部環境においてすべての投稿がBadRequestになる...
skyshare.nekono.dev
September 15, 2026 at 2:01 PM
🌙 今夜のもう 1 本

「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))

Claude APIの400エラーを3層構造で体系的に切り分けた、実践的なデバッグ事例。

気になった方はぜひ。

#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話
Claude APIを使用したAI相談機能で特定ユーザーの会話のみ400 BadRequestエラーが発生。APIキー確認・会話データ検証・入力値サニタイズの3層で原因を特定し解決した実例。API利用者向けのデバッグアプローチ参考記事。
hiroba.kojihq.com
September 9, 2026 at 12:50 PM
#SkyshareUpdate 2.0.0-preview.r08

- Bluesky同様、投稿への反応を変更できるようになりました(画像参照)
- 画像にAltをつける機能/画像一枚ずつを削除する機能をv1から復帰させました。
- 「クロップ調整」を「サムネ調整」に名前を変更しました。また、サムネ調整ダイアログのUIを改善しました。
- 一部環境においてすべての投稿がBadRequestになる問題を修正しました。
- クリエイターモードの実装に向けた準備のため、バックエンドを大幅にリファクタしました。まだ先になりそうですが、お楽しみに。
September 6, 2026 at 5:15 PM
🌙 今夜のもう 1 本

「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))

Claude APIの400エラーを3層防御で根本解決した、実践的なデバッグ手順の記録。

気になった方はぜひ。

#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話
Claude APIを使用したAI相談機能で特定ユーザーの会話のみ400 BadRequestエラーが発生。APIキー確認・会話データ検証・入力値サニタイズの3層で原因を特定し解決した実例。API利用者向けのデバッグアプローチ参考記事。
hiroba.kojihq.com
August 26, 2026 at 8:50 AM
{"error":{"code":"BadRequest","message":"Invalid version.","innerError":{"date":"2025-04-05T02:17:16","request-id":"74035b24-02c7-4cfa-9f4b-246d2aa891f1","client-request-id":"74035b24-02c7-4cfa-9f4b-246d2aa891f1"}}}
April 5, 2025 at 2:18 AM
Anyone else having trouble logging into SSA.gov? I get #badrequest #socialsecurityadministration #ssa
The United States Social Security Administration | SSA
Official website of the U.S. Social Security Administration.
SSA.gov
March 12, 2025 at 7:14 PM
sim, verdade, confesso que no geral eu lanço um badRequest pra não passar muito tempo pensando nisso rs, mas faz bastante sentido sua explicação
September 5, 2024 at 7:02 PM
BadRequest('400 Bad Request\nYour Tweet text is too long. For more information on how Twitter determines text length see https://github.com/twitter/twitter-text .')
GitHub - twitter/twitter-text: Twitter Text Libraries. This code is used at Twitter to tokenize and ...
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform. - GitHub - twitter/twitter-text: Twitter Text Librarie...
github.com
November 21, 2023 at 2:34 PM
三井住友カード、Vpassから定期払いチャンスへ遷移したら400 BadRequest踏んだ。
Cookie長すぎて8400文字超えてて、WAFっぽいのに引っかかって落とされたらしい。エラー画面で再ログイン誘導してほしいけど・・・。
運用するときは各システム跨ぐCookieつけすぎに注意。
February 13, 2024 at 11:25 AM
surely

return result.WasSuccessful? Ok(result):BadRequest("It didn't work");

is all you need. Reads well, is concise, and any debug point goes into Ok() and BadRequest()
November 21, 2024 at 9:54 PM
Ich liebe #microsoft! Ich liebe #azure! Ich liebe einfach ALLES an dieser #SchöneNeueWelt!

*rennt schreiend aus dem Haus
October 17, 2025 at 9:32 AM
The API response:

"BadRequest: Query is denylisted in Search Content Control tool."
September 5, 2024 at 6:27 PM
It's not a problem with ProblemDetails (per say) but the way the default error handling is defined for not-200-status codes.

If you:
- ✅ AddProblemDetails()
- ✅ UseStatusCodePages()

and then return
- BadRequest() -> app../json + PD result
- BadRequest("blah") -> app../json but not a PD result
May 5, 2025 at 4:00 PM
👋🏻 G'day Tim. Issue isn't the BadRequest class, it's the baked in error handling for not-2XX Success message 'status codes'.

Check these docs out (and note the version I was looking at).

I think this doesn't apply to .NET 9+ ?
May 5, 2025 at 1:10 PM
Hi ASP.NET Core Devs. Is this .. correct?

The Out-Of-The-Box ASP.NET application does not have support for 4XX and 5XX response's *which contain a body*
e.g.
- ✅ return BadRequest(); // No Body
- ❌ return BadRequest("name missing");

UseStatusCodePages only works with *no body*.

cc @davidfowl.com
May 5, 2025 at 9:22 AM
Good bot
June 27, 2026 at 12:43 AM
🌙 今夜のもう 1 本

「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))

Claude APIの400エラーを3層構造で体系的に切り分けた、実務直結のデバッグ記録。

気になった方はぜひ。

#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話
Claude APIを使用したAI相談機能で特定ユーザーの会話のみ400 BadRequestエラーが発生。APIキー確認・会話データ検証・入力値サニタイズの3層で原因を特定し解決した実例。API利用者向けのデバッグアプローチ参考記事。
hiroba.kojihq.com
August 15, 2026 at 8:34 AM
☀️ 今日のひと記事

「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))

あなたはどう使ってますか?

#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話
Claude APIを使用したAI相談機能で特定ユーザーの会話のみ400 BadRequestエラーが発生。APIキー確認・会話データ検証・入力値サニタイズの3層で原因を特定し解決した実例。API利用者向けのデバッグアプローチ参考記事。
hiroba.kojihq.com
July 28, 2026 at 11:08 PM
Success property name is unnecessarily verbose.

I never compare booleans to literals but I do have slight sympathy for the readability argument.

Do we know BadRequest is always the correct response on failure? "it didn't work" definitely isn't.

Comments are redundant. Document properly.
November 21, 2024 at 9:09 PM
こんばんは!いつもRPやいいねありがとうございます!

スマホでwebサイトを開こうとした時に「BadRequest」と出た場合は、サーバー側か端末側でエラーが起きてしまってい
のだと思われます。
専門知識があるわけではないので確実ではありませんが、同じ様なことが起きた時に私は「webサイトのキャッシュを削除する」や「スマホ端末の再起動」で回復しました。もしくはブラウザを変えてみるなどですかね。(iPhoneでしたらSafariが標準ですからChromeで試すなど)
参考になれば幸いです!
August 5, 2025 at 12:16 PM