© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
damnnn

Resending confirmation email results in "A failure has occurred" error

Hi. I'm encountering an error while trying to resend a confirmation email in my ASP.NET Core application. The error message I'm receiving is:

{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
"title": "A failure has occurred.",
"status": 500,
"traceId": "00-c71e0f8c6ac4b719b1fe02064c9d75e3-598ddc56be83a968-00",
"errorCodes": "customValue"
}
I'm using MediatR for handling requests and responses. Here's the relevant code snippets

When I debugged the code, I received the following error: ErrorOr { IsError = True, Errors = System.Collections.Generic.List1[ErrorOr.Error], ErrorsOrEmptyList = System.Collections.Generic.List1[ErrorOr.Error], Value = , FirstError = Error { Code = User email is not confirmed! Reasons: Invalid token., Description = A failure has occurred., Type = Failure, NumericType = 0, Metadata = } }

It seems like there's an issue with the token or email confirmation process. How can I resolve this error and successfully resend the confirmation email? Thank you for your help!
Screenshot_2024-05-14_at_17.24.26.png
Screenshot_2024-05-14_at_17.24.32.png
Screenshot_2024-05-14_at_17.24.54.png
Screenshot_2024-05-14_at_17.25.10.png
IETF Datatracker
RFC 9110: HTTP Semantics
The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol element...
RFC 9110: HTTP Semantics
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

❔ "A General Error Has Occurred in GDI+"
C#CC# / help
3y ago
❔ ✅ An unhandled exception has occurred
C#CC# / help
3y ago
Using IFormFile in Web API project results in network failure.
C#CC# / help
2y ago
✅ A generic error occurred in GDI+.' -> Save Image Path
C#CC# / help
2y ago