Verification email resend issue

Hello, I got the issue setting up a verification email to resend to my users. My application is a SPA, and I am using React as the programming language. I continuously get the error: {“statusCode”:401,“error”:“Unauthorized”,“message”:“Missing authentication”}.

I used this way to get my access token for this API call:
const token = await getAccessTokenSilently({
audience: ‘https://tenant-name.us.auth0.com/api/v2/’,
scope: ‘update:users’
});

Any help is appreciated!

Hi @ericqa0201,

Welcome to the Auth0 Community!

To better understand the issue, can you share more details about how you resend the verification email to your users?

We’re you able to successfully get the verification email using the Try button at the bottom of the page found on the Dashboard > Branding > Email Templates > Verification Email (using link)?

And are you able to find any corresponding logs associated with the unauthorized error?

Thanks,
Rueben