i love you
and she said
Try again
the operation couldn’t be completed.
(HTTPError{httpCode=badRequest, category=network, cocoa=0, description=‘’})
i love you
and she said
Try again
the operation couldn’t be completed.
(HTTPError{httpCode=badRequest, category=network, cocoa=0, description=‘’})
"BadRequest: Query is denylisted in Search Content Control tool."
"BadRequest: Query is denylisted in Search Content Control tool."
i love you
and she said
i love you
and she said
AppScript開こうと思ったらBadRequestってなんで・・・
AppScript開こうと思ったらBadRequestってなんで・・・
if(result.WasSuccessful) return Ok(result);
return BadRequest("It didn't work");
1. No useless comments
2. Logging moved to a filter/middleware or just removed
3. Consider changing BadRequest to more appropriate response code
if(result.WasSuccessful) return Ok(result);
return BadRequest("It didn't work");
1. No useless comments
2. Logging moved to a filter/middleware or just removed
3. Consider changing BadRequest to more appropriate response code
return result.WasSuccessful ? Ok(result) : BadRequest("It didn't work");
return result.WasSuccessful ? Ok(result) : BadRequest("It didn't work");
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()
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()
once it's alive, we just need to see what happens at
`https://relay1.us-east.bsky.network/xrpc/com.atproto.sync.getRepoStatus?did=<NEW_DID>`
we have bug repro if response `BadRequest failed to proxy` like fordid:plc:r47ixofywwpyonnqd5d4pmaz
once it's alive, we just need to see what happens at
`https://relay1.us-east.bsky.network/xrpc/com.atproto.sync.getRepoStatus?did=<NEW_DID>`
we have bug repro if response `BadRequest failed to proxy` like fordid:plc:r47ixofywwpyonnqd5d4pmaz
POST request to chaga.us-west.host.bsky.network/xrpc/com.atp... failed with status code BadRequest, "InvalidRequest" "Lexicon not found: lex:app.bsky.graph.verification"
✅ Verify friends
ℹ️ Check your verifications
💞 See which mutuals verified you
Note: this does NOT give you a bluecheck!
cred.blue/verifier
POST request to chaga.us-west.host.bsky.network/xrpc/com.atp... failed with status code BadRequest, "InvalidRequest" "Lexicon not found: lex:app.bsky.graph.verification"
if (userName == null) return BadRequest();
but it'd be even cooler to be able to do:
if (!userName) return BadRequest();
if (userName == null) return BadRequest();
but it'd be even cooler to be able to do:
if (!userName) return BadRequest();
- Bluesky同様、投稿への反応を変更できるようになりました(画像参照)
- 画像にAltをつける機能/画像一枚ずつを削除する機能をv1から復帰させました。
- 「クロップ調整」を「サムネ調整」に名前を変更しました。また、サムネ調整ダイアログのUIを改善しました。
- 一部環境においてすべての投稿がBadRequestになる問題を修正しました。
- クリエイターモードの実装に向けた準備のため、バックエンドを大幅にリファクタしました。まだ先になりそうですが、お楽しみに。
- Bluesky同様、投稿への反応を変更できるようになりました(画像参照)
- 画像にAltをつける機能/画像一枚ずつを削除する機能をv1から復帰させました。
- 「クロップ調整」を「サムネ調整」に名前を変更しました。また、サムネ調整ダイアログのUIを改善しました。
- 一部環境においてすべての投稿がBadRequestになる問題を修正しました。
- クリエイターモードの実装に向けた準備のため、バックエンドを大幅にリファクタしました。まだ先になりそうですが、お楽しみに。
{
// TODO: tratar cada tipo de erro, mas por enquanto deicha torar
return BadRequest("O Spotify não consegue fazer isso no momento");
}
{
// TODO: tratar cada tipo de erro, mas por enquanto deicha torar
return BadRequest("O Spotify não consegue fazer isso no momento");
}
Could use pattern matching to be more concise.
In my company I'd say the log is unnecessary since we use request logging from Serilog.
Comments should give away the intent and not what the code is doing.
Could use pattern matching to be more concise.
In my company I'd say the log is unnecessary since we use request logging from Serilog.
Comments should give away the intent and not what the code is doing.
「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))
Claude APIの400エラーを3層防御で根本解決した、実践的なデバッグ手順の記録。
気になった方はぜひ。
#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
「AI相談が突然400 BadRequestループに陥る原因と、3層防御で直した話」(Zenn (Claude topic))
Claude APIの400エラーを3層防御で根本解決した、実践的なデバッグ手順の記録。
気になった方はぜひ。
#Claude #ClaudeCode
https://hiroba.kojihq.com/articles/2328ea1c852dee
Cookie長すぎて8400文字超えてて、WAFっぽいのに引っかかって落とされたらしい。エラー画面で再ログイン誘導してほしいけど・・・。
運用するときは各システム跨ぐCookieつけすぎに注意。
Cookie長すぎて8400文字超えてて、WAFっぽいのに引っかかって落とされたらしい。エラー画面で再ログイン誘導してほしいけど・・・。
運用するときは各システム跨ぐCookieつけすぎに注意。
Check these docs out (and note the version I was looking at).
I think this doesn't apply to .NET 9+ ?
Check these docs out (and note the version I was looking at).
I think this doesn't apply to .NET 9+ ?
// check if it worked
if(result.WasSuccessful == false)
{
// return bad request
return BadRequest("It didn't work");
}
// log success
_logger.Log("(whatever)");
// return the result
return Ok(result);
// check if it worked
if(result.WasSuccessful == false)
{
// return bad request
return BadRequest("It didn't work");
}
// log success
_logger.Log("(whatever)");
// return the result
return Ok(result);
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.
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.