You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decision - providing reasoning why a filing was not allowed #28542
Currently when a submission of a filing that is not permitted(does not meet criteria for allowable actions) for a business, the api rejects the filing and does not provide the specific reasons as to why the filing was not permitted.
ALF has brought up that they would like the API to return the specific reasons in this scenario.
Decision needs to be made whether we will implement this functionality.
With our latest code for the business api, we now return the following error message when an api user does not meet the criteria for allowable actions. As well, we return the http status of 403(forbidden).
error message: Not Allowed - You are not allowed to submit this type of filing for BC1234567.
Activity
argush3 commentedon May 22, 2025
@OlgaPotiagalova @vikas-gov
argush3 commentedon May 23, 2025
We have decided that we will not provide the specific reason why a filing was not allowed.
An update will be made to return a more appropriate http status along with a generic error message indicating that the filing is not allowed.
cc: @OlgaPotiagalova @vikas-gov
argush3 commentedon Oct 20, 2025
With our latest code for the business api, we now return the following error message when an api user does not meet the criteria for allowable actions. As well, we return the http status of 403(forbidden).
error message: Not Allowed - You are not allowed to submit this type of filing for BC1234567.