{"id":12394,"date":"2026-11-05T20:39:45","date_gmt":"2026-11-05T18:39:45","guid":{"rendered":"https:\/\/betterqa.co\/?p=12394"},"modified":"2026-11-05T20:39:45","modified_gmt":"2026-11-05T18:39:45","slug":"api-200-says-success","status":"publish","type":"post","link":"https:\/\/betterqa.co\/api-200-says-success\/","title":{"rendered":"Does your API answer &#8216;success&#8217; to a request it should refuse?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"12394\" class=\"elementor elementor-12394\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e316fcs elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"e316fcs\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e316fcc\" data-id=\"e316fcc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e316fcw elementor-widget elementor-widget-html\" data-id=\"e316fcw\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n.bqa-cs3{--c-ink:#0C1726;--c-body:#3d4653;--c-dim:#5f6b78;--c-line:#e6e9ee;--c-purple:#9152DE;--c-deep:#5F29A1;--c-blue:#204782;--c-wash:#f6f8f9;--c-lilac:#f1eafb;--c-teal:#DDE9E9;font-family:'Roboto',sans-serif;color:var(--c-body);line-height:1.6;background:#fff;font-size:16px}\n.bqa-cs3 *,.bqa-cs3 *::before,.bqa-cs3 *::after{box-sizing:border-box}\n.bqa-cs3 h1,.bqa-cs3 h2,.bqa-cs3 h3{font-family:'Jost',sans-serif;color:var(--c-ink);text-transform:none;font-weight:600;line-height:1.25;margin:0;letter-spacing:0}\n.bqa-cs3 p{margin:0}\n.bqa-cs3 a{color:var(--c-deep)}\n.bqa-cs3 .bqa-cs3-wrap{max-width:1120px;margin:0 auto;padding:0 32px}\n.bqa-cs3 .bqa-cs3-label{font-family:'Jost',sans-serif;font-size:.8125rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--c-deep);display:flex;align-items:center;gap:10px;margin:0 0 10px}\n.bqa-cs3 .bqa-cs3-label::before{content:'';width:20px;height:2px;background:var(--c-purple);flex-shrink:0}\n.bqa-cs3 .bqa-cs3-sec{padding:44px 0;border-top:1px solid var(--c-line)}\n.bqa-cs3 .bqa-cs3-sec.is-wash{background:var(--c-wash)}\n.bqa-cs3 .bqa-cs3-sec h2{font-size:1.625rem;margin:0 0 18px}\n.bqa-cs3 .bqa-cs3-note{font-size:.875rem;color:var(--c-dim);margin-top:12px;line-height:1.5}\n\/* hero *\/\n.bqa-cs3 .bqa-cs3-hero{padding:44px 0 40px}\n.bqa-cs3 .bqa-cs3-herogrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:center}\n.bqa-cs3 .bqa-cs3-hero h1{font-size:2.375rem;margin:0 0 14px}\n.bqa-cs3 .bqa-case-hook{font-family:'Jost',sans-serif;font-size:1.125rem;line-height:1.45;color:var(--c-deep);border-left:3px solid var(--c-purple);padding:0 0 0 14px;margin:0 0 14px}\n.bqa-cs3 .bqa-v2-aud{font-family:'Jost',sans-serif;font-weight:500;color:var(--c-ink);font-size:1rem;line-height:1.4;margin:0 0 10px}\n.bqa-cs3 .bqa-v2-aud strong{color:var(--c-deep);font-weight:600}\n.bqa-cs3 .bqa-cs3-lead{font-size:1rem;margin:0 0 18px}\n.bqa-cs3 .bqa-v2-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}\n.bqa-cs3 .bqa-v2-chip{font-family:'Jost',sans-serif;font-size:.8125rem;font-weight:500;line-height:1;padding:7px 12px;border-radius:999px;background:var(--c-lilac);color:var(--c-deep)}\n.bqa-cs3 .bqa-v2-chip.is-ind{background:var(--c-ink);color:#fff}\n.bqa-cs3 .bqa-cs3-photo{margin:0;position:relative}\n.bqa-cs3 .bqa-cs3-photo img{display:block;width:100%;height:auto;aspect-ratio:4\/3;object-fit:cover;border-radius:14px}\n.bqa-cs3 .bqa-cs3-photo::after{content:'';position:absolute;left:-12px;bottom:-12px;width:96px;height:96px;border-radius:0 0 0 14px;border-left:3px solid var(--c-purple);border-bottom:3px solid var(--c-purple);pointer-events:none}\n\/* numbers *\/\n.bqa-cs3 .bqa-cs3-nums{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(var(--n,4),minmax(0,1fr));gap:12px;align-items:stretch}\n.bqa-cs3 .bqa-cs3-band{border-radius:12px;padding:20px 22px;background:linear-gradient(120deg,#5F29A1 0%,#204782 100%);color:#fff;display:flex;flex-direction:column;justify-content:center}\n.bqa-cs3 .bqa-cs3-band b{font-family:'Jost',sans-serif;font-weight:600;font-size:2.125rem;line-height:1.1}\n.bqa-cs3 .bqa-cs3-band span{font-size:.9375rem;line-height:1.4;margin-top:6px;opacity:.95}\n.bqa-cs3 .bqa-cs3-fact{border:1px solid var(--c-line);border-radius:12px;padding:16px;background:#fff}\n.bqa-cs3 .bqa-cs3-fact b{font-family:'Jost',sans-serif;font-weight:600;font-size:1.375rem;color:var(--c-ink);display:block;line-height:1.2}\n.bqa-cs3 .bqa-cs3-fact span{font-size:.8125rem;color:var(--c-dim);display:block;margin-top:6px;line-height:1.4}\n\/* cards: risks and findings *\/\n.bqa-cs3 .bqa-cs3-cards{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:14px}\n.bqa-cs3 .bqa-cs3-card{background:#fff;border:1px solid var(--c-line);border-radius:12px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:6px}\n.bqa-cs3 .bqa-cs3-card h3{font-size:1.0625rem}\n.bqa-cs3 .bqa-cs3-card p{font-size:.9375rem;line-height:1.5}\n.bqa-cs3 .bqa-cs3-chip{align-self:flex-start;font-family:'Jost',sans-serif;font-size:.75rem;font-weight:500;color:var(--c-deep);background:var(--c-lilac);border-radius:999px;padding:3px 10px}\n.bqa-cs3 .bqa-cs3-card .bqa-cs3-cost{margin-top:auto;padding-top:10px;border-top:1px solid var(--c-line)}\n.bqa-cs3 .bqa-cs3-k{font-family:'Jost',sans-serif;font-size:.75rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--c-dim);display:block;margin-bottom:2px}\n\/* rules and method *\/\n.bqa-cs3 .bqa-cs3-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}\n.bqa-cs3 .bqa-cs3-two h2{font-size:1.375rem;margin-bottom:14px}\n.bqa-cs3 .bqa-cs3-two.is-mw{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}\n.bqa-cs3 .bqa-cs3-two.is-rw{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}\n.bqa-cs3 .bqa-cs3-box{border:1px solid var(--c-line);border-radius:12px;background:#fff;overflow:hidden}\n.bqa-cs3 .bqa-cs3-box + .bqa-cs3-box{margin-top:10px}\n.bqa-cs3 .bqa-cs3-list{list-style:none;margin:0;padding:0}\n.bqa-cs3 .bqa-cs3-list li{padding:11px 16px;border-top:1px solid var(--c-line);font-size:.9375rem;line-height:1.5}\n.bqa-cs3 .bqa-cs3-list li:first-child{border-top:0}\n.bqa-cs3 .bqa-cs3-list .h{font-family:'Jost',sans-serif;font-weight:600;color:var(--c-ink);display:block;font-size:1rem;margin-bottom:2px}\n.bqa-cs3 .bqa-cs3-dl{margin:0;display:grid;grid-template-columns:120px minmax(0,1fr)}\n.bqa-cs3 .bqa-cs3-dl dt,.bqa-cs3 .bqa-cs3-dl dd{margin:0;padding:10px 16px;border-top:1px solid var(--c-line);font-size:.9375rem;line-height:1.5}\n.bqa-cs3 .bqa-cs3-dl dt:first-of-type,.bqa-cs3 .bqa-cs3-dl dt:first-of-type + dd{border-top:0}\n.bqa-cs3 .bqa-cs3-dl dt{font-family:'Jost',sans-serif;font-weight:600;color:var(--c-ink)}\n\/* outcome and checks *\/\n.bqa-cs3 .bqa-cs3-out{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}\n.bqa-cs3 .bqa-cs3-out h2{font-size:1.375rem;margin-bottom:12px}\n.bqa-cs3 .bqa-cs3-out p + p{margin-top:10px}\n.bqa-cs3 .bqa-v2-you{margin-top:14px;border-left:4px solid var(--c-purple);background:var(--c-lilac);border-radius:0 10px 10px 0;padding:14px 18px;font-family:'Jost',sans-serif;font-size:1.0625rem;line-height:1.45;color:var(--c-deep)}\n.bqa-cs3 .bqa-cs3-checks{list-style:none;margin:0;padding:0;counter-reset:cs3}\n.bqa-cs3 .bqa-cs3-checks li{counter-increment:cs3;position:relative;padding:10px 0 10px 40px;border-top:1px solid var(--c-line);font-size:.9375rem;line-height:1.5}\n.bqa-cs3 .bqa-cs3-checks li:first-child{border-top:0;padding-top:0}\n.bqa-cs3 .bqa-cs3-checks li::before{content:counter(cs3);position:absolute;left:0;top:10px;width:26px;height:26px;border-radius:7px;background:var(--c-deep);color:#fff;font-family:'Jost',sans-serif;font-weight:600;font-size:.875rem;display:flex;align-items:center;justify-content:center}\n.bqa-cs3 .bqa-cs3-checks li:first-child::before{top:0}\n.bqa-cs3 .bqa-cs3-checks .h{font-family:'Jost',sans-serif;font-weight:600;color:var(--c-ink);display:block;margin-bottom:2px}\n\/* cta *\/\n.bqa-cs3 .bqa-cs3-cta{padding:12px 0 52px}\n.bqa-cs3 .bqa-cs3-ctacard{border-radius:14px;padding:26px 30px;background:var(--c-teal);display:flex;gap:24px;align-items:center;justify-content:space-between}\n.bqa-cs3 .bqa-cs3-ctacard h2{font-size:1.375rem;margin-bottom:6px}\n.bqa-cs3 .bqa-cs3-ctacard p{color:var(--c-ink);max-width:620px}\n.bqa-cs3 .bqa-cs3-btn{display:inline-flex;align-items:center;white-space:nowrap;padding:12px 22px;border-radius:8px;font-family:'Jost',sans-serif;font-weight:500;font-size:.9375rem;text-decoration:none;background:var(--c-ink);color:#fff}\n.bqa-cs3 .bqa-cs3-btn:hover{background:var(--c-deep);color:#fff}\n.bqa-cs3 .bqa-cs3-btn:focus-visible{outline:2px solid var(--c-purple);outline-offset:3px}\n@media (max-width:1024px){.bqa-cs3 .bqa-cs3-nums{grid-template-columns:repeat(2,minmax(0,1fr))}.bqa-cs3 .bqa-cs3-band{grid-column:1 \/ -1}.bqa-cs3 .bqa-cs3-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}\n@media (max-width:768px){.bqa-cs3 .bqa-cs3-wrap{padding:0 20px}.bqa-cs3 .bqa-cs3-herogrid,.bqa-cs3 .bqa-cs3-two,.bqa-cs3 .bqa-cs3-two.is-mw,.bqa-cs3 .bqa-cs3-two.is-rw,.bqa-cs3 .bqa-cs3-out{grid-template-columns:1fr;gap:22px}.bqa-cs3 .bqa-cs3-pair{padding-bottom:0}.bqa-cs3 .bqa-cs3-pair .bqa-cs3-two{gap:0}.bqa-cs3 .bqa-cs3-half{padding-bottom:32px}.bqa-cs3 .bqa-cs3-half + .bqa-cs3-half{border-top:1px solid var(--c-line);margin:0 -20px;padding:32px 20px}.bqa-cs3 .bqa-cs3-photo{order:-1}.bqa-cs3 .bqa-cs3-photo img{aspect-ratio:16\/9}.bqa-cs3 .bqa-cs3-photo::after{display:none}.bqa-cs3 .bqa-cs3-hero{padding:20px 0 28px}.bqa-cs3 .bqa-cs3-hero h1{font-size:1.75rem}.bqa-cs3 .bqa-cs3-sec{padding:32px 0}.bqa-cs3 .bqa-cs3-ctacard{flex-direction:column;align-items:flex-start;padding:22px}}\n@media (max-width:500px){.bqa-cs3 .bqa-cs3-wrap{padding:0 16px}.bqa-cs3 .bqa-cs3-hero h1{font-size:1.5rem}.bqa-cs3 .bqa-case-hook{font-size:1.0625rem}.bqa-cs3 .bqa-cs3-lead{font-size:.9375rem}.bqa-cs3 .bqa-v2-chip:nth-child(n+4){display:none}.bqa-cs3 .bqa-cs3-sec{padding:28px 0}.bqa-cs3 .bqa-cs3-pair{padding-bottom:0}.bqa-cs3 .bqa-cs3-half{padding-bottom:28px}.bqa-cs3 .bqa-cs3-half + .bqa-cs3-half{margin:0 -16px;padding:28px 16px}.bqa-cs3 .bqa-cs3-sec h2{font-size:1.3125rem;margin-bottom:14px}.bqa-cs3 .bqa-cs3-cards{grid-template-columns:1fr;gap:8px}.bqa-cs3 .bqa-cs3-card{padding:12px 14px;gap:4px}.bqa-cs3 .bqa-cs3-card .bqa-cs3-cost{padding-top:8px}.bqa-cs3 .bqa-cs3-card p,.bqa-cs3 .bqa-cs3-list li,.bqa-cs3 .bqa-cs3-dl dd,.bqa-cs3 .bqa-cs3-checks li{font-size:.875rem}.bqa-cs3 .bqa-cs3-band b{font-size:1.75rem}.bqa-cs3 .bqa-cs3-fact{padding:12px}.bqa-cs3 .bqa-cs3-fact b{font-size:1.1875rem}.bqa-cs3 .bqa-cs3-dl{grid-template-columns:1fr}.bqa-cs3 .bqa-cs3-dl dt{padding-bottom:0}.bqa-cs3 .bqa-cs3-dl dd{border-top:0;padding-top:2px}.bqa-cs3 .bqa-cs3-btn{width:100%;justify-content:center}.bqa-cs3 .bqa-v2-you{font-size:1rem}}\n@media (max-width:380px){.bqa-cs3 .bqa-cs3-nums{grid-template-columns:1fr}}\n.bqa-cs3[data-bqa-case=\"api-200-says-success\"] .bqa-cs3-photo img{object-position:70% 40%}\n<\/style>\n<div class=\"bqa-svc-page bqa-case bqa-cs3\" data-bqa-case=\"api-200-says-success\">\n<header class=\"bqa-cs3-hero\"><div class=\"bqa-cs3-wrap bqa-cs3-herogrid\"><div class=\"bqa-cs3-herotext\">\n<div class=\"bqa-cs3-label\">Case study<\/div>\n<h1>Does your API answer &#x27;success&#x27; to a request it should refuse?<\/h1>\n<p class=\"bqa-case-hook\">The mandates area failed open first. Then one bad request got a success flag. Four subsystems showed the same kind of failure.<\/p>\n<p class=\"bqa-v2-aud\"><strong>For<\/strong> CTOs and heads of engineering at fintech and wealth platforms that expose an API to clients or partners.<\/p>\n<p class=\"bqa-cs3-lead\">Send an API a bad request and you expect an error. While testing a wealth-management API, the mandates area failed open first. Then the snapshot endpoint answered a bad request with HTTP 200, a success flag and a leaked internal error name, and a third and a fourth subsystem showed the same kind of failure.<\/p>\n<ul class=\"bqa-v2-chips\"><li class=\"bqa-v2-chip is-ind\">Wealth management<\/li><li class=\"bqa-v2-chip\">Portfolio and mandate API<\/li><li class=\"bqa-v2-chip\">Clients<\/li><li class=\"bqa-v2-chip\">Operations<\/li><li class=\"bqa-v2-chip\">Reputation<\/li><\/ul>\n<\/div><figure class=\"bqa-cs3-photo\"><picture><img fetchpriority=\"high\" src=\"https:\/\/betterqa.co\/wp-content\/uploads\/2026\/11\/case-api-200-says-success.jpg\" data-bqa-frame=\"szy-6464\" alt=\"A BetterQA engineer in glasses and a teal turtleneck reading code on a monitor at her desk in the Cluj-Napoca office\" width=\"1200\" height=\"630\" decoding=\"async\" fetchpriority=\"high\" title=\"\"><\/picture><\/figure><\/div><\/header>\n<section class=\"bqa-cs3-sec bqa-cs3-numsec\" aria-label=\"The numbers\"><div class=\"bqa-cs3-wrap\"><div class=\"bqa-cs3-label\">The numbers<\/div>\n<div class=\"bqa-cs3-nums\" style=\"--n:4\">\n<div class=\"bqa-cs3-band\"><b>4 subsystems<\/b><span>showed the same kind of fail-open behaviour<\/span><\/div>\n<div class=\"bqa-cs3-fact\"><b>3<\/b><span>kinds of invalid input that got 200: methodology, value type and date<\/span><\/div>\n<div class=\"bqa-cs3-fact\"><b>51<\/b><span>checks green in four suites, covering the parts that did work<\/span><\/div>\n<div class=\"bqa-cs3-fact\"><b>200<\/b><span>the status code a malformed request still received<\/span><\/div>\n<div class=\"bqa-cs3-fact\"><b>0<\/b><span>suites reported as passed when they could not run<\/span><\/div>\n<\/div><\/div><\/section>\n<section class=\"bqa-cs3-sec is-wash\"><div class=\"bqa-cs3-wrap\"><div class=\"bqa-cs3-label\">At stake<\/div><h2>What was at risk<\/h2>\n<div class=\"bqa-cs3-cards\" style=\"--n:3\">\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Clients<\/span><h3>Bad requests that look accepted<\/h3><p>A bad request got HTTP 200 and a success flag. A client that trusts the flag carries on with nothing, or with a wrong value.<\/p><\/div>\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Operations<\/span><h3>Failures no monitor sees<\/h3><p>A status-code monitor sees a healthy call. The failure shows up later in a client&#x27;s data, not in your alerts.<\/p><\/div>\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Reputation<\/span><h3>Internal detail in the answer<\/h3><p>The reply carried the name of an internal exception class where the value should be. Callers learn about your internals instead of what they got wrong.<\/p><\/div>\n<\/div><\/div><\/section>\n<div class=\"bqa-cs3-sec bqa-cs3-pair\"><div class=\"bqa-cs3-wrap bqa-cs3-two is-mw\"><section class=\"bqa-cs3-half\">\n<div class=\"bqa-cs3-label\">Rules<\/div><h2>Standards and rules in play<\/h2><div class=\"bqa-cs3-box\"><ul class=\"bqa-cs3-list\">\n<li><span class=\"h\">Our reporting rule for known bugs<\/span>A check for an open bug stays red and is reported but does not fail the run, and turns green the day the fix lands. A suite that cannot run is reported as not reported, never as a pass.<\/li>\n<\/ul><\/div><p class=\"bqa-cs3-note\">Context: financial firms in the EU answer to DORA for managing ICT incidents, and a failure that reports success is one nobody can detect.<\/p><\/section><section class=\"bqa-cs3-half\">\n<div class=\"bqa-cs3-label\">Method<\/div><h2>How we tested it<\/h2><div class=\"bqa-cs3-box\"><dl class=\"bqa-cs3-dl\">\n<dt>Test level<\/dt><dd>System testing at API level, run against the live service.<\/dd><dt>Test types<\/dt><dd>Functional negative testing (invalid input) and regression testing of error handling.<\/dd><dt>Test basis<\/dt><dd>The expected behaviour: invalid input gets a clear error and no success flag.<\/dd><\/dl><\/div>\n<div class=\"bqa-cs3-box\"><ul class=\"bqa-cs3-list\">\n<li><span class=\"bqa-cs3-k\">Technique<\/span><span class=\"h\">Error guessing<\/span>An invalid methodology, a wrong value type and a malformed date sent to the snapshot endpoint, then the same kinds of input elsewhere.<\/li>\n<li><span class=\"bqa-cs3-k\">How we worked<\/span><span class=\"h\">Defect clustering (a testing principle)<\/span>The same kind of fail-open behaviour turned up in the mandates area first, then in performance snapshots, a third subsystem and a fourth. One fail-open endpoint usually means more.<\/li>\n<\/ul><\/div>\n<p class=\"bqa-cs3-note\">Terms as in the ISTQB CTFL 4.0.1 syllabus and glossary.<\/p><\/section><\/div><\/div>\n<section class=\"bqa-cs3-sec is-wash\"><div class=\"bqa-cs3-wrap\"><div class=\"bqa-cs3-label\">Findings<\/div><h2>What we found, and what it costs<\/h2>\n<div class=\"bqa-cs3-cards\" style=\"--n:3\">\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Pattern<\/span><h3>An invalid methodology, value type or date answered 200 with the success flag set to true<\/h3><p class=\"bqa-cs3-cost\"><span class=\"bqa-cs3-k\">What it costs you<\/span>A monitor sees a healthy call and a client trusts the flag. Nobody is told that nothing happened.<\/p><\/div>\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Pattern<\/span><h3>The value field carried an internal exception class name<\/h3><p class=\"bqa-cs3-cost\"><span class=\"bqa-cs3-k\">What it costs you<\/span>Detail about the system&#x27;s internals reaches callers who should only see a clear error.<\/p><\/div>\n<div class=\"bqa-cs3-card\"><span class=\"bqa-cs3-chip\">Pattern<\/span><h3>The same kind of behaviour in four subsystems<\/h3><p class=\"bqa-cs3-cost\"><span class=\"bqa-cs3-k\">What it costs you<\/span>Each endpoint validates on its own, so each is its own chance to fail open. Validation in one place that every endpoint passes through is the first fix we would look at.<\/p><\/div>\n<\/div><p class=\"bqa-cs3-note\">The working behaviour was checked too: 12, 16, 9 and 14 checks passed in the four areas, so the client could see what was sound as well as what was not.<\/p><\/div><\/section>\n<section class=\"bqa-cs3-sec\"><div class=\"bqa-cs3-wrap bqa-cs3-out\"><div>\n<div class=\"bqa-cs3-label\">Outcome<\/div><h2>What changed<\/h2>\n<p>A list of fail-open endpoints, each with the request that proves it, and a witness test for every one that turns green on its own the day the fix lands. A suite that cannot run is reported as not reported.<\/p>\n<div class=\"bqa-v2-you\"><strong>What this means for you:<\/strong> Ask what your monitoring would show if an endpoint accepted bad input and answered success. If the answer is nothing, start there.<\/div>\n<\/div><div>\n<div class=\"bqa-cs3-label\">Check<\/div><h2>What to check in your own product<\/h2><ol class=\"bqa-cs3-checks\">\n<li><span class=\"h\">Send an endpoint invalid input, such as a wrong value type or a malformed date, and read the success flag as well as the status.<\/span>A bad request got HTTP 200 and a success flag.<\/li>\n<li><span class=\"h\">When you find one endpoint that fails open, check the others.<\/span>The same kind of fail-open behaviour turned up in the mandates area first, then in performance snapshots, a third subsystem and a fourth.<\/li>\n<li><span class=\"h\">Look for internal exception names in the replies.<\/span>Callers learn about your internals instead of what they got wrong.<\/li>\n<\/ol><\/div>\n<\/div><\/section>\n<section class=\"bqa-cs3-cta\"><div class=\"bqa-cs3-wrap\"><div class=\"bqa-cs3-ctacard\"><div><h2>Want your API tested for failures that look like success?<\/h2><p>We test what an endpoint returns on bad input, not only on good input. The first month is a trial.<\/p><\/div><a class=\"bqa-cs3-btn\" href=\"\/contact-us\/\">Talk to our team<\/a><\/div><\/div><\/section>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Wealth platform API: bad requests got HTTP 200 and a success flag, then the same kind of failure in four subsystems. What to check in your own API.<\/p>\n","protected":false},"author":1,"featured_media":11891,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1295],"tags":[],"class_list":["post-12394","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-case-studies"],"acf":[],"_links":{"self":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/12394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/comments?post=12394"}],"version-history":[{"count":1,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/12394\/revisions"}],"predecessor-version":[{"id":12409,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/12394\/revisions\/12409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media\/11891"}],"wp:attachment":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media?parent=12394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/categories?post=12394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/tags?post=12394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}