Skip to content

Edit UI - update API error parsing #30194

Closed
Closed

Description

@severinbeauvais

Network error:
image.png

The root cause is that the API GW is changing the error response, which the code uses to properly handle missing addresses. The new error response looks like this:
image.png

To do:

  • Find and update all references to response.status or response.data.message.

Activity

  1. added
    bug
    Entities Team
    on Aug 14, 2025
  2. changed the title [-]Copy of Business Dashboard UI - business with missing address fails to load[/-] [+]Filings/Create/Edit UIs - update network error parsing[/+] on Aug 14, 2025
  3. severinbeauvais commented on Aug 14, 2025

    @severinbeauvais
    CollaboratorAuthor

    A good example of this failing is https://app.zenhub.com/workspaces/entities---olga-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/30191.

    In this ticket, the user tries to add a business, and the call fails (because the business is not affiliated to the current account, which is fine), but the error response is not correctly parsed and handled.


    Another example is trying to load a Conversion filing for a firm without business addresses.

  4. changed the title [-]Filings/Create/Edit UIs - update network error parsing[/-] [+]Filings/Create/Edit UIs - update API error parsing[/+] on Aug 14, 2025
  5. changed the title [-]Filings/Create/Edit UIs - update API error parsing[/-] [+]Edit UI - update API error parsing[/+] on Aug 18, 2025
  6. riyazuddinsyed commented on Aug 22, 2025

    @riyazuddinsyed
    Contributor

    Verified in test.Working as expected

  7. severinbeauvais commented on Aug 22, 2025

    @severinbeauvais
    CollaboratorAuthor

    FYI, this fix is in Test only right now. It will be hotfixed to Prod on Monday morning.

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

Metadata

Metadata

Assignees

Labels

Entities TeamPriority1bugprod defect

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions