Skip to content

Decision - providing reasoning why a filing was not allowed #28542

Closed

Description

@argush3

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.

Activity

  1. added
    Entities Team
    Needs Decision
    on May 22, 2025
  2. argush3 commented on May 22, 2025

    @argush3
    ContributorAuthor
  3. argush3 commented on May 23, 2025

    @argush3
    ContributorAuthor

    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

  4. removed
    Needs Decision
    on May 23, 2025
  5. argush3 commented on Oct 20, 2025

    @argush3
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions