From 292f707f9fbd032195c6cdd3e71f01100aeccb54 Mon Sep 17 00:00:00 2001 From: Aaryaman Bhute Date: Fri, 18 Sep 2026 19:37:03 +0000 Subject: [PATCH] Document SCREENING_UNAVAILABLE on the 500 error A request halted because sanction screening could not reach a verdict is a failure on our side, not a finding about the caller, and is safe to retry. It answers 500 rather than the 403 SANCTION_BLOCKED a genuine block still carries. --- mintlify/openapi.yaml | 2 ++ openapi.yaml | 2 ++ openapi/components/schemas/errors/Error500.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index ce3701760..23f120b2f 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -13266,9 +13266,11 @@ components: |------------|-------------| | GRID_SWITCH_ERROR | Grid switch error | | INTERNAL_ERROR | Internal server or UMA error | + | SCREENING_UNAVAILABLE | Sanction screening could not reach a verdict. The request was not processed; retry shortly. | enum: - GRID_SWITCH_ERROR - INTERNAL_ERROR + - SCREENING_UNAVAILABLE reason: type: string description: Error message diff --git a/openapi.yaml b/openapi.yaml index ce3701760..23f120b2f 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -13266,9 +13266,11 @@ components: |------------|-------------| | GRID_SWITCH_ERROR | Grid switch error | | INTERNAL_ERROR | Internal server or UMA error | + | SCREENING_UNAVAILABLE | Sanction screening could not reach a verdict. The request was not processed; retry shortly. | enum: - GRID_SWITCH_ERROR - INTERNAL_ERROR + - SCREENING_UNAVAILABLE reason: type: string description: Error message diff --git a/openapi/components/schemas/errors/Error500.yaml b/openapi/components/schemas/errors/Error500.yaml index e11a583a0..28b73c38a 100644 --- a/openapi/components/schemas/errors/Error500.yaml +++ b/openapi/components/schemas/errors/Error500.yaml @@ -10,9 +10,11 @@ properties: |------------|-------------| | GRID_SWITCH_ERROR | Grid switch error | | INTERNAL_ERROR | Internal server or UMA error | + | SCREENING_UNAVAILABLE | Sanction screening could not reach a verdict. The request was not processed; retry shortly. | enum: - GRID_SWITCH_ERROR - INTERNAL_ERROR + - SCREENING_UNAVAILABLE reason: type: string description: Error message