Skip to content

Business Dashboard UI: using wrong URL for initial filings call #31059

Closed

Description

@severinbeauvais

Found in Dev.

Impact

This is currently functioning because we have reverse-proxies in place that route to the Business API GW URL. However, the code must be fixed and deployed to an environment before the reverse-proxy is removed in that environment, or the Business Dashboard will fail to load bootstrap filings or actual businesses probably.

To reproduce

  1. login to Dev as a regular user
  2. file a bootstrap filing (eg, an Incorporation Application)
  3. observe the issue in the Business Dashboard network tab:

image.png

Expected result

The URL should be that of the Business API Gateway, eg:

image.png

Sample URLs

coop: https://dev.business-dashboard.bcregistry.gov.bc.ca/TzOk9ayBWV?filing_id=206615&accountid=2288
numbered corp: https://dev.business-dashboard.bcregistry.gov.bc.ca/T99cg5uLMV?filing_id=206616&accountid=2288
numbered corp (different account): https://dev.business-dashboard.bcregistry.gov.bc.ca/Tsqdm363tn?filing_id=206617&accountid=668

Activity

  1. added
    bug
    Entities Team
    on Oct 22, 2025
  2. changed the title [-]Copy of Legal API: returns 401 for IA just submitted[/-] [+]Business Dashboard UI: using wrong URL for initial filings call[/+] on Oct 22, 2025
  3. severinbeauvais commented on Oct 22, 2025

    @severinbeauvais
    CollaboratorAuthor

    Analysis

    There is a FF that tells the UI whether to use the old or new API URL. It appears that the filings fetch call is made before the feature flags are fetched, so the old URL is used.

    Since we have now fully migrated to GCP, the FF code can be removed and the new URL will be used consistently.

  4. self-assigned this
    on Nov 3, 2025
  5. gunanagar commented on Nov 4, 2025

    @gunanagar
    Collaborator

    Tested in Dev Env , Looks good

    To reproduce:
    1.login to Dev as a regular user
    2.file a bootstrap filing (eg, an Incorporation Application)
    3.observe the issue in the Business Dashboard network tab

    Observation in Dev Env

    1. Tested in Numbered company

    image.png

    image.png

    2.Named Business

    image.png

    Test Env - Working as expected

    To reproduce:
    1.login to Test as a regular user
    2.file a bootstrap filing (eg, an Incorporation Application)
    3.observe the issue in the Business Dashboard network tab

    image.png

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

Metadata

Metadata

Labels

Entities Teambug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions