bcgov / bcgov/entity

Legal API: returns 401 for IA just submitted

Open
#31,052 6 comments 0 reactions 1 assignee Claimed by @kialj876 View on GitHub
bug Entities Team
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Found in Dev.

**Impact:** I cannot see the IA I just submitted. This probably reproduces for all bootstrap filings. I cannot continue from business dashboard. However, if I go back to my BRD then I see my new business and can load it successfully.

**To reproduce:**
1. login to Dev as a regular user (eg, BCREG0020)
2. select the non-primary account (eg, "Severin Dev Account" not "resd")
3. create a NR for a new coop (also reproduces for named and numbered corps)
4. get the NR approved
5. start the draft IA
6. complete, submit and pay for the IA
7. observe the issue:

image.png

image.png

Note: ignore that this is not using the Business API GW URL -- there's a reverse proxy in place so this network call should succeed anyway. (Fixing the URL will be a separate UI ticket.) Also, I patched the code locally to fix the URL and the same API error was returned.

Sample URLs:
coop: https://dev.business-dashboard.bcregistry.gov.bc.ca/TzOk9ayBWV?filing_id=206615&accountid=2288
numbered corp: https://dev.business-dashboard.bcregistry.gov.bc.ca/T99cg5uLMV?filing_id=206616&accountid=2288
numbered corp (different account): https://dev.business-dashboard.bcregistry.gov.bc.ca/Tsqdm363tn?filing_id=206617&accountid=668

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.