From f987df459303c75ead0e53cb88a452862d4a3668 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Wed, 11 Jun 2025 11:40:08 -0700 Subject: [PATCH] 28956 - Update Error Code --- web/site/public/br/business-spec.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web/site/public/br/business-spec.yaml b/web/site/public/br/business-spec.yaml index 68d8eb5c..2473ba3a 100644 --- a/web/site/public/br/business-spec.yaml +++ b/web/site/public/br/business-spec.yaml @@ -789,6 +789,19 @@ paths: summary: Notice of Withdrawal - Not a staff value: message: You are not authorized to submit a filing for BC1234567. + '403': + description: Forbidden - The user does not have valid role or permission for the target resource or a business rule does not allow updating of target resource. + content: + application/json: + examples: + edit-action-unauthorized-response: + summary: Edit Action - Unauthorized User + value: + message: You are not authorized to submit filings for BC1218840. + business-rule-violation-response: + summary: Business Rule - Not Allowed to File. e.g. a draft filing exists and subsequent filings cannot be filed until draft is updated or submitted and processed to completion. + value: + message: You are not allowed to submit this type of filing for BC1218840. '404': description: Cannot found, when a value cannot be found in the records content: