bcgov / bcgov/entity

When the API returns a 400 Bad Request response, multiple dialogue boxes are displayed to the user instead of a single, consolidated error message.

Open
#30,536 1 comment 0 reactions 0 assignees View on GitHub
bug Entities Team Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in the current situation**
When the API returns a 400 Bad Request error, the system first displays an “Unable to Save Filing” message. After the user clicks OK, a second message, “Unable to Retrieve Filing,” is displayed.

Steps to reproduce the behavior:
1. Go to 'https://dev.bcregistry.gov.bc.ca/en-CA/'
2. Search for BC0888283
3. File a Correction for the IA
4. Make some changes hit on "File and Pay"
5. Notice the "Unable to Save Filing" click on OK
6. Now observe another pop-up with "Unable to Retrieve Filing" shows up..

**Screenshots/ Visual Reference/ Source**

[Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBN1JFQ3c9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--010397a588e0f0a8fdd87a9d2b1aebe8b5832cf4/Screen%20Recording%202025-09-03%20at%204.11.49%20PM.mov)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue at https://dev.bcregistry.gov.bc.ca/en-CA/ with entity BC0888283, then follow the filing correction flow through “File and Pay” until the API returns 400. Trace the handling of the “Unable to Save Filing” and “Unable to Retrieve Filing” messages; done means one consolidated error dialog is shown instead of two.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.