Welcome to Portkey Forum

Updated 6 days ago

Handling Intermittent Failures with AWS Bedrock and Claude

Question: With AWS bedrock + Claude I see that sometimes the request "kinda fails" i.e. the response has a 200 status code but response content is empty. Can I somehow use the portkey native retry mechanism here? Since the status code is 200, I cannot use the status code based retries.
s
b
2 comments
you'd have to write this logic in your application code itself or you can configure webhook as a guardrail, but that's too convoluted, prefer writing a simple if block in your code itself
yes thanks, that's currently my approach!
Add a reply
Sign up and join the conversation on Discord