Unable to get an OTP code from sendgrid. Error message when trying to log in with MFA using custom policies in sendgrid. Azure AD B2C
Hi,
I'm unable to get an OTP code from sendgrid using a dynamic template created in sendgrid portal. I used these samples:
And followed this documentation:
After successfuly logging in, I was expecting to get an OTP via email (as part of MFA) but in stead, I get this error message on the page:
Sorry, but we're having trouble signing you in.
We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, please try again.
Correlation ID: d43c0d19-52cc-424b-88e0-8e529533b7eb
Timestamp: 2024-09-30 12:42:08Z
AADB2C: An exception has occurred.
And in the console log i see this error message:
POST https://<MYTENANTID>.b2clogin.com/<MYTENANTID>.onmicrosoft.com/B2C_1A_SIGNUP_SIGNIN/client/perftrace?tx=d43c0d19-52cc-424b-88e0-8e529533b7eb&p=null 404 (Not Found)
<MYTENANTID> is replaced with the actual tenantid, but for privacy reasons sensored.
I've been struggling with this error for days now, what am I missing?
Edit, Now im getting this error msg in the console log: Error during MSAL redirect handling or initialization: ServerError: server_error: AADB2C: An exception has occurred. Correlation ID: 2186a6f1-c27c-4f1e-8b74-31e4e0b27301 Timestamp: 2024-10-01 12:00:54Z