TSS - Technical user support
This page lists the user support issues that may currently arise, and the technical guidance for resolving them. Once an issue no longer requires manual intervention (i.e. it is now handled in code), it should be removed.
- 1 User cannot log-in
- 2 User cannot sign-up, with message ‘An account with the given email already exists’, but also cannot reset password with message ‘there are no credentials for this account’
- 3 User does not receive password reset code
- 4 User does not receive MFA log-in code
- 5 User cannot sign-up, with a message ‘PreSignUp failed with error Invalid email…’
- 6 User can log-in, but gets the message ‘Error couldn’t load your personal details'
- 7 FormR: cannot submit with a revalidation date
- 8 FormR: delete forms submitted in error
- 9 FormR: Error - Couldn’t save your Form R (Part B). If problem persists please contact your Local Office
- 10 Network error
- 11 Notes:
User cannot log-in
Probable issue
User tried logging in before having signed up.
Check
Have they signed-up? Check that they have an account in the Cognito user pool. If not, they need to be advised to sign-up before logging-in.
User cannot sign-up, with message ‘An account with the given email already exists’, but also cannot reset password with message ‘there are no credentials for this account’
Probable issue
User started signing up, but failed with the verify email element.
Workaround
Disable and delete user from Cognito user pool and ask them to sign-up again.
User does not receive password reset code
Probable issue
User has not checked their spam folders.
Workaround
Assuming they have checked spam folders, disable and delete user from Cognito user pool and ask them to sign-up again.
https://hee-tis.atlassian.net/browse/TIS21-2176 to add logging of emails coming from Cognito to confirm they have been sent to the trainee.
User does not receive MFA log-in code
Probably issue
User inadvertently selected Authenticator app as the method for authentication, rather than the simpler SMS, and is not familiar with the mechanics.
Check
MFA methods
for the user on Cognito, in case they selected the Authenticator App as the MFA method, but are expecting an SMS.
User cannot sign-up, with a message ‘PreSignUp failed with error Invalid email…’
Possible issues
they do not have the ‘DR in Training’ role assigned, or
their email address has been changed after their profile was first sync’d to TIS Self-Service, or
they are not using their TIS email address to sign up for Self-Service.
Check
Do they have the ‘DR in Training’ role? Look at the Role for the trainee in the Person table on TCS-PROD on Metabase (or look at the ‘Sensitive data’ tab for the person on TIS Admin).
You may need to search by email address, name or GMC number, depending on what information comes from the local office or trainee.
If not: their Local office needs to assign that role, and we will need to do a complete sync to add their profile to Trainee Self-Service.Is their email address different on TIS Self-Service compared to TIS? (i.e. it has been changed in TIS after the user has signed-up to TSS)
If it is, we will need to do a complete sync to update their profile in TIS Self-Service.
User can log-in, but gets the message ‘Error couldn’t load your personal details'
Issue
Duplicate profiles (same email address) in the trainee.TraineeProfile Mongo collection, which prevents the correct account being linked to Cognito.
Workaround
Find the best looking TraineeProfile in the database, get its TraineeTisId, and add this as attribute custom:TisId
to the Cognito account for the user in the Cognito user pool.
FormR: cannot submit with a revalidation date
Probable / Possible Issue
Check / Workaround
FormR: delete forms submitted in error
Issue
Submitted a form, realised it wasn’t right, submitted another rather than contact their LO.
Workaround
Add custom Mongock migration to tis-trainee-forms to delete the form from the forms database and the JSON file from the S3 bucket.
FormR: Error - Couldn’t save your Form R (Part B). If problem persists please contact your Local Office
Issue
Safari version <15 datepicker issue.
There were other validation-type issues that are now resolved (where the back-end enforced validation that the front-end did not consider)
Workaround
Trainee will be advised now to use another browser, or update Safari.
Investigate Sentry logs (timestamps will guide investigation into trainee app cloudwatch logs)
If necessary, investigate better datepicker option.
TODO: consider better error messaging from back-end.
Network error
Example
Issue
Intermittent WiFi?
Connection to AWS service failed during log-in process?
Workaround
Ask trainee to try on a device directly connected to the internet (instead of over WiFi).
Refresh page (stale session).
Notes:
To do a complete data sync from TIS to TSS: https://eu-west-2.console.aws.amazon.com/dms/v2/home?region=eu-west-2#taskDetails/trainee-refresh-prod . This will take a number of hours (~12-24?) to complete.
Cognito trainee-prod-v4 user pool https://eu-west-2.console.aws.amazon.com/cognito/v2/idp/user-pools/eu-west-2_H6QQebU1A/users?region=eu-west-2.
Slack: https://hee-nhs-tis.slack.com/
Jira issues: https://hee-tis.atlassian.net/issues/?filter=14213