Server errors
502
Bad Gateway
On tap: The Wrong Answer from UpstreamHe asked the kitchen. The kitchen said nonsense.
What it meansA gateway or proxy got an invalid reply from the server behind it.
What to doRetry with backoff. If it persists, the origin is down or broken.
Should an agent retry?Retry with backoff Transient. Retry with exponential backoff and jitter, three attempts at most.
For your agentcurl https://tokentender.ai/api/http?code=502