BUG: Cannot create an account in TEST via STRR
Describe the bug in current situation Trying to create an account for myLTSA05/98900005, get redirected to finalization page (correct) but not able to submit get API error 502.
Impact of this bug Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low) High happens all the time
Request URL:
https://strr-api-test-5g4775umoq-nn.a.run.app/accounts
Request Method:
POST
Status Code:
502 Bad Gateway
Remote Address:
[2001:4860:4802:34::35]:443
Referrer Policy:
no-referrer
Actual/ observed behavior/ results
{
phone: "6048313629", phoneExtension: "", email: "[email protected]", name: "Roland Test Day"}
Response
{details: [], message: "Error checking if SBC account name already exists."}
Expected behavior A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source If applicable, add screenshots to help explain your problem. You an use screengrab.
@kris-daxiom - The team wants to talk about this one to get your input at the next Scrum
error is coming from auth directly
Update:
- If a new BCSC user never created an account with registries, the error above occurs.
- If the user did create an account (with bc registries, not through STRR) and then de-activated it, it is fine, they can now create a new account through the /finalization page
We have to consider the possibility that when myLTSA05 user was created, it was not created in the same way as a "normal" BCSC user would be. Currently myLTSA05 works in DEV (since I created an account directly with BC registry) even after deleted the user from the strr database, but not in TEST because there was never an account created.
The question now becomes:
- Is this something that can happen to a user out there? Somebody who has never had an interaction with registries and never created an account.
@mbertucci , @kris-daxiom
@kris-daxiom to bring over the code from BAR and will see if replacing the code fixes the code
This requires a backend ticket, the scope of which Lekshmi doesn't have full view of yet.
backend ticket created https://app.zenhub.com/workspaces/strr-65b2a7146835aa0cdf315b79/issues/gh/bcgov/entity/24248