You need to sign in to do that
Don't have an account?
adisun
Salesforce system error when executing test Auth.SessionManagement.generateVerificationUrl
Hello
I am trying to invoke the Auth.SessionManagement.generateVerificationUrl(Auth.VerificationPolicy.HIGH_ASSURANCE, 'Custom Register', ApexPages.currentPage().getUrl())
from the test class and it fails with the error:
System.UnexpectedException: Salesforce System Error: 1978609353-24635 (-1912857534) (-1912857534)
Class.Auth.SessionManagement.generateVerificationUrl: line 54,
Calling this method from the test class fails But, executing the same code through the DEV console anonymous execution works fine!
I am trying to invoke the Auth.SessionManagement.generateVerificationUrl(Auth.VerificationPolicy.HIGH_ASSURANCE, 'Custom Register', ApexPages.currentPage().getUrl())
from the test class and it fails with the error:
System.UnexpectedException: Salesforce System Error: 1978609353-24635 (-1912857534) (-1912857534)
Class.Auth.SessionManagement.generateVerificationUrl: line 54,
Calling this method from the test class fails But, executing the same code through the DEV console anonymous execution works fine!
Don;t know if this helps but the only thing I can offer os this link to a KB article and note what the article says concenring Error codes. :
https://help.salesforce.com/apex/HTViewSolution?id=000221608&language=en_US