Urgent.News

What's breaking now, across hundreds of outlets.

World

Your upstream rate-limits you. Your endpoint books the strike.

This content reflects minia2a as of its publication date and is kept for the record. Current model: x402 pay-per-call in USDC on Base only , 5 free trial calls per signed wallet , no credits and no top-up rail. Your upstream rate-limits you. Your endpoint books the strike. 2026-11-25 · failure attribution in a paid endpoint, measured on our own 233 handlers A pay-per-call endpoint has two failure…

The article discusses a system issue with an endpoint that uses a pay-per-call model on the Base blockchain. The endpoint has five free trial calls per signed wallet, and a rate limit that can cause failures. When an upstream service is rate-limited or down, the endpoint's platform books a strike. This can happen when the caller sends incorrect input, or when the endpoint's upstream service is rate-limited or down.

The failure is recorded by a gateway's delivery recorder, which reads a field called "cause" from the handler's answer. If the cause is not attributed correctly, it can result in unintended consequences. The article outlines three main issues with the current system: the recorder only sees a body from a 2xx response, the recorder gets no payload for a 5xx response, and a 502 response with a cause of "platform" is indistinguishable from a blank body.

The article suggests a fix that would make every upstream-failure branch say whose fault it was, allowing for better tracking and resolution of the issue.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in World

More from Wednesday 25 November →