You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auth Web: Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry. #30088
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingprod defect
Describe the bug in current situation
When the staff searches for a businesses that is not present in Business Registry then "Request failed with status code 404" shows up instead of the message saying business not found.
The error message is not informational.
changed the title [-]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in BCROS.[/-][+]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/+]on Aug 14, 2025
changed the title [-]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/-][+]Auth Web: Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/+]on Aug 26, 2025
The intent is to show the message in the root cause block, not display it with {} and the Message tag. Moving it back to in progress.
I did it this way to support the current and future API Gateway config (which controls this).
So, currently the API GW config has not been updated and you see the rootCause object with the message in it. Once the API GW config is updated, you will see only the message.
When looking up a business from the staff dashboard, calls are made to Legal API and Auth API. Depending on the API responses, the message displayed to the user is either static (from code) or dynamic (from error response).
In your example above, in Test, the Legal API responded with 404 and the following error object:
Here, a "static" message is displayed (which I think is better than the network response).
If you tried this same example in Dev, the Legal API would have responded with a 200 and the subsequent Auth API response would be 404 and the following error object:
This is due to different code paths. (It's a bit spaghetti, to be honest.)
Travis and I thought this was good enough for staff and we should focus our efforts on user issues. What do you think? Is it worth another 3 points of effort to try to untangle this?
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingprod defect
Activity
[-]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in BCROS.[/-][+]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/+]severinbeauvais commentedon Aug 14, 2025
This is the same root cause as 30174 and 30194.
However, there is an extra request in this ticket -- see description.
[-]Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/-][+]Auth Web: Request failed with status code 404 showing up on staff dashboard when searching for businesses that are not found in Business Registry.[/+]severinbeauvais commentedon Aug 29, 2025
Test Notes
A0100001BC1234567123456(filing)severinbeauvais commentedon Sep 2, 2025
@seeker25 Do we need a release for this ticket or can I just push it to Test and ask Riyaz to verify it?
seeker25 commentedon Sep 2, 2025
Can go ahead and push, it's mostly staff functionality anyways
I'll create a release in a few
severinbeauvais commentedon Sep 2, 2025
Thanks Travis!
@riyazuddinsyed , this is now in Test for your verification.
riyazuddinsyed commentedon Sep 2, 2025
The intent is to show the message in the root cause block, not display it with {} and the Message tag. Moving it back to in progress.
vishnup0422 commentedon Sep 2, 2025
Hello Riyaz, Can you please confirm the Expected error message
"No match found for Business Number"
severinbeauvais commentedon Sep 2, 2025
I did it this way to support the current and future API Gateway config (which controls this).
So, currently the API GW config has not been updated and you see the
rootCauseobject with the message in it. Once the API GW config is updated, you will see only the message.severinbeauvais commentedon Sep 4, 2025
When looking up a business from the staff dashboard, calls are made to Legal API and Auth API. Depending on the API responses, the message displayed to the user is either static (from code) or dynamic (from error response).
In your example above, in Test, the Legal API responded with 404 and the following error object:
Here, a "static" message is displayed (which I think is better than the network response).
If you tried this same example in Dev, the Legal API would have responded with a 200 and the subsequent Auth API response would be 404 and the following error object:
This is due to different code paths. (It's a bit spaghetti, to be honest.)
Travis and I thought this was good enough for staff and we should focus our efforts on user issues. What do you think? Is it worth another 3 points of effort to try to untangle this?
cc: @JohnamLane @OlgaPotiagalova - for your thoughts, please.
severinbeauvais commentedon Sep 8, 2025
I have created ticket #30590 to further improve the flow and messages later.
THIS ticket handled the initial reported issue. Can we move it through the pipelines please?
vishnup0422 commentedon Sep 9, 2025
QA Validations


Test env