Skip to content

Legal Api - HTTP 500 errors in prod #24877

Closed

Description

@BrandonSharratt

The Legal API is currently throwing 500 errors in production

image (5).png

image (3).png

image (4).png

Activity

  1. added
    BTR
    bug
    Entities - Data Migration
    Entities Team
    on Dec 11, 2024
  2. removed
    BTR
    Entities - Data Migration
    on Dec 11, 2024
  3. changed the title [-]Legal Api - 500 errors in prod[/-] [+]Legal Api - HTTP 500 errors in prod[/+] on Dec 11, 2024
  4. severinbeauvais commented on Dec 11, 2024

    @severinbeauvais
    Collaborator

    To reproduce:

    1. login to Prod as staff
    2. go to https://business-dashboard.bcregistry.gov.bc.ca/BC1429658/?accountid=14752
    3. click View Documents on the Register Correction Application filing to expand it
    4. click to download the "Register Correction Application" output
    5. observe error in console and network windows

    Note that corrections are not yet enabled in Prod so this must be a Ops filing (Jupyter notebook?), and may be missing a required field or more, causing the document error.

    Still, the Legal API should not crash (HTTP 500) on data errors.

  5. severinbeauvais commented on Dec 19, 2024

    @severinbeauvais
    Collaborator

    This problem seems to be reproducible in Dev (for a properly-filed correction):

    image.png

    image.png

  6. severinbeauvais commented on Dec 19, 2024

    @severinbeauvais
    Collaborator

    Hey @BrandonSharratt , the BD isn't handling the HTTP 500 properly: there is no feedback to the user (error dialog) and the app stays in disabled state. Can you please enter a new bug ticket for this?

    image.png

  7. vysakh-menon-aot commented on Dec 24, 2024

    @vysakh-menon-aot
    Contributor

    @OlgaPotiagalova @Mihai-QuickSilverDev @ozamani9gh

    @Mihai-QuickSilverDev Please communicate this with Business (if needed to client as well)

  8. vishnup0422 commented on Dec 27, 2024

    @vishnup0422
    Collaborator

    Verified in Dev

    Staff correction for a BC

    Screenshot 2024-12-27 at 9.40.18 AM.png

    Screenshot 2024-12-27 at 9.45.29 AM.png

    Screenshot 2024-12-27 at 9.45.38 AM.png

    Staff correction for a BEN

    Screenshot 2024-12-27 at 9.53.36 AM.png

    Screenshot 2024-12-27 at 9.53.10 AM.png

    image.png

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

Metadata

Metadata

Labels

Entities TeamPriority1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions