{"uid":"cap_pVYgTGxnw2c5FYKkzNOb2","slug":"shop-northheart-app-debug-fail-endpoint-f03c3ea6","name":"shop.northheart.app Debug Fail Endpoint","description":"Fail on purpose, after payment, so you can test how your program copes: ?mode=empty|big|error500|error429|error503","url":"https://shop.northheart.app/debug/fail?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["mode"],"properties":{"mode":{"enum":["empty","big","error500","error429","error503"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mode":{"type":"string"},"note":{"type":"string"},"error":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EDNwXEuGJkQ-fKKg3wmCf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Intentionally fails after a successful payment to let developers test how their x402 payment client handles various error and edge-case responses","exampleAgentPrompt":"Trigger a 500 error on purpose using the debug fail endpoint — I want to see how my x402 payment client handles an internal server error after a successful payment goes through.","exampleUseCases":[{"title":"Testing retry logic for 429 errors","prompt":"Hit the debug fail endpoint with mode=error429 so I can verify my agent properly backs off and retries after getting rate-limited, even when it already paid for the call."},{"title":"Validating empty response handling","prompt":"Use the fail endpoint in empty mode to make sure my payment client doesn't crash or hang when it gets back a blank response after a successful USDC payment."},{"title":"Simulating service outage after payment","prompt":"Trigger a 503 error using the debug fail endpoint — I need to confirm my x402 integration gracefully handles a service-unavailable response after the payment has already been deducted."}],"resultDescription":"Returns one of five intentional failure responses depending on the mode parameter: an empty body (mode=empty), an oversized payload (mode=big), an HTTP 500 Internal Server Error (mode=error500), an HTTP 429 Too Many Requests (mode=error429), or an HTTP 503 Service Unavailable (mode=error503). The payment is deducted regardless of the error response returned.","failureModes":["Omitting the mode parameter may result in undefined behavior or a default error","Invalid mode values not in the enum are ignored or produce unexpected results","Payment may still be deducted even if the request is malformed","Network timeout if using mode=big with very large payloads"],"whenToPreferThis":"Use this endpoint when you need to verify your x402 payment client or AI agent can gracefully handle a range of post-payment server failures. It is ideal during development and integration testing before going live against real paid endpoints, since it guarantees a specific failure type on demand without relying on real outages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:44:10.024Z","isFirstParty":false,"canonicalSlug":"shop-northheart-app-debug-fail-endpoint-f03c3ea6"}