Skip to content

Filer - a new business whose account link fails is never retried, the customer cannot open it #35642

Open

Description

@benjamin-bc-gov

What happens

When a new-business filing completes, the filer gives the business its number and then links it to the customer's account, uses up the name request and sends the emails. If the account link fails, the filer writes a log line and finishes as if all went well. The business exists, but the customer gets "not authorized" when they open it and the draft row stays in their list. Staff have been fixing these by hand since 2020 (entity#4969).

How to see it

It needs the auth service to fail during the link step, so it is seen in logs rather than reproduced on demand. The filing shows as completed with no sign that a step failed.

Who is affected

Customers who just paid for a new business and cannot access it until support steps in. Nothing alerts anyone.

Ask

Remember the failed step on the filing so it can be retried, or raise an alert naming the business and the step. Kial to pick the mechanism. The name request step has the same gap.

Technical notes

  • business-filer filing_components/business_profile.py update_affiliation: the except only logs. name_request.py consume NR behaves the same.
  • services/filer.py commits the filing as COMPLETED before these steps run, and drops a redelivered message for a completed filing, so a retry has nothing to pick up.
  • common/services/account_service.py still carries the TODO from the original affiliation work.

Activity

  1. added
    bug
    Entities Team
    on Nov 16, 2026
  2. benjamin-bc-gov commented on Nov 16, 2026

    @benjamin-bc-gov
    CollaboratorAuthor

    Kial has reviewed this: it is a known, accepted risk and no ops ticket has come from it, so it is not planned unless a driver turns up.

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