Skip to content

Auth API: Manage Business ERROR message received #27368

Closed

Description

@OlgaPotiagalova

Another problem our early adopters experience :

Hi, we're getting an error message when we try to add this company to be managed:

image.png

The client is anxious to get a filing completed as soon as possible. Would you be able to look into and fix within today? Thank you.

Activity

  1. added
    Entities Team
    on Apr 24, 2025
  2. severinbeauvais commented on Apr 24, 2025

    @severinbeauvais
    Collaborator

    It appears that the subject business has a valid email:

    image.png

    https://business-dashboard.bcregistry.gov.bc.ca/BC1196188/

  3. severinbeauvais commented on Apr 25, 2025

    @severinbeauvais
    Collaborator

    Additional information was received from the client indicating that they were not able to manage the business using the "top search area" but were able to manage the business using "My List".

    I understand this to be the client's Business Registry dashboard/page, where the "top area" is the search to affiliate a business while "My List" is the title of the table itemizing all affiliations, including the subject business.

    Visual example from my own dev account:

    image.png

  4. severinbeauvais commented on Apr 25, 2025

    @severinbeauvais
    Collaborator

    Now, the dialog in this ticket's description is the business affiliation dialog, displayed once you have searched for a business and selected it.

    Note that you cannot select the business if it is already affiliated to your account. If it is already affiliated then the dropdown shows "Added" like this:

    image.png

    Since the user saw the affiliation modal, the business must not have been affiliated yet.

    It looks like the user selected the "confirm authorization using email" option, ie:

    image.png

    It looks like the Auth API call to send the authorization email failed. Possibly, this process worked when the user tried again... in the end, the user managed to affiliate the business.

    We don't have console logs from the client but maybe we could find something in the Auth API logs telling us why sending the email failed.

    I don't have access to the Prod GCP project so I cannot look at the logs. Can someone from IT Ops or SBC Connect look into this? PS It looks like this happened before 2:13pm Pacific on April 24, 2025.

    cc: @OlgaPotiagalova @Mihai-QuickSilverDev @JohnamLane

  5. severinbeauvais commented on Apr 25, 2025

    @severinbeauvais
    Collaborator

    Additional information was received from the client indicating that they were not able to manage the business using the "top search area" but were able to manage the business using "My List".

    I understand this to be the client's Business Registry dashboard/page, where the "top area" is the search to affiliate a business while "My List" is the title of the table itemizing all affiliations, including the subject business.

    I can see why the client might be confused by the different components on this page. Perhaps clear section titles would help? Or perhaps the affiliations search could be collapsed until a text button "Retrieve an existing business or active Name Request to manage" is clicked to expand it?

    cc: @janisrogers @jacqueline-williams-549

  6. added
    bug
    on Apr 25, 2025
  7. jacqueline-williams-549 commented on Apr 25, 2025

    @jacqueline-williams-549

    @severinbeauvais @janisrogers Yes I think that the input field tends to look like a way to search the table below rather than a way to add a business to the table below. People don't seem to read the text immediately and just recognize the pattern since it's common to put a search bar above a table (and have that be used to search the table). I suspect that a text change may not be enough, but that would be the simplest solution.

  8. changed the title [-]Manage Business ERROR message received[/-] [+]Auth API: Manage Business ERROR message received[/+] on Apr 25, 2025
  9. added
    connect
    on Apr 25, 2025
  10. removed their assignment
    on Apr 25, 2025
  11. severinbeauvais commented on May 1, 2025

    @severinbeauvais
    Collaborator

    Business decision: any user, regardless of their role, should be able to user this affiliation option.

    This requires a change in Auth API. @sandragornall @seeker25

  12. severinbeauvais commented on May 1, 2025

    @severinbeauvais
    Collaborator

    As for clearing up possible confusion between the affiliate search box and the table filtering, @janisrogers said it's probably OK for now.

  13. added
    Pay
    on May 1, 2025
  14. seeker25 commented on May 1, 2025

    @seeker25
    Contributor

    There's a membership check for ADMIN and COORDINATOR, needs to be expanded for USER

    I think these might impact delegation as well

    Hanlun has a PR for this I believe

  15. seeker25 commented on May 6, 2025

    @seeker25
    Contributor

    @lizhuomeng71 could you test this one please? Hanlun put in a fix and it's on test

  16. severinbeauvais commented on May 7, 2025

    @severinbeauvais
    Collaborator

    I believe this is fixed by #27068. Please verify.

  17. lizhuomeng71 commented on May 9, 2025

    @lizhuomeng71

    I am still seeing this issue on test,
    image.png

  18. seeker25 commented on May 9, 2025

    @seeker25
    Contributor

    Looks like a change was done on the PATCH (ACCEPT) but not the POST to create the affiliation Invitation.

    I'll fix this shortly, Delegation will only work for ADMIN / COORDINATORS
    Magic Link will work for ADMIN / COORDINATOR / USERS

    Olga and Vikas are away, otherwise I'd include

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

Metadata

Metadata

Labels

Entities TeamPayPriority2bugconnect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions