function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shiri Ronen-Attia 7Shiri Ronen-Attia 7 

generate temporary code

When in Lightning and trying to click on 'Generate' Temporary code - that can temorarily be ued instead of MFA if user doesn't have thier mobile device, I get an error "This page has an error" or "You don't have access to this record. Ask your administrator for help or to request access.".

Can someone please enlighten me what access am I missing as the System administrator? 
Something in Identity verification? 
It is working in the Classic UI fine, the error is just in the Lightning UI.
Any advise is welcome!
Best Answer chosen by Shiri Ronen-Attia 7
SwethaSwetha (Salesforce Developers) 
HI Shiri,
The issue you are facing is related to the known issue-  https://trailblazer.salesforce.com/issues_view?title=generate-temporary-verification-code-issue-in-lightning&Id=a1p3A000000AU7w

Salesforce Investigation #W-4992937

While there is no ETA for a fix at the moment, please consider selecting "This Issue Affects me" so that the fix can be prioritized.

If this information helps, please mark the answer as best.

Thank you
Swetha Maddali
Salesforce support

All Answers

SwethaSwetha (Salesforce Developers) 
HI Shiri,
The issue you are facing is related to the known issue-  https://trailblazer.salesforce.com/issues_view?title=generate-temporary-verification-code-issue-in-lightning&Id=a1p3A000000AU7w

Salesforce Investigation #W-4992937

While there is no ETA for a fix at the moment, please consider selecting "This Issue Affects me" so that the fix can be prioritized.

If this information helps, please mark the answer as best.

Thank you
Swetha Maddali
Salesforce support
This was selected as the best answer
Shiri Ronen-Attia 7Shiri Ronen-Attia 7
Thank you! I selected the option so hopefully that fix can be prioritized.