"USERNAME_IS_ALREADY_TAKEN_PLEASE_TRY_ANOTHER” error code is not included in authClient.$ERROR_CODE.
"USERNAME_IS_ALREADY_TAKEN_PLEASE_TRY_ANOTHER” error code is not included in authClient.$ERROR_CODE.
Is this a specification?
There is no other "COULDNT_UPDATE_YOUR_EMAIL".
10 Replies
i need help
Hey it's available for me. Can I see your auth config?

https://www.better-auth.com/docs/concepts/client#error-codes
I created a function to get the error message, but “USERNAME_IS_ALREADY_TAKEN_PLEASE_TRY_ANOTHER” was not defined.
Client | Better Auth
Better Auth client library for authentication.
using next.js


The same was true for
betterAuth
.
@Ping@Lucas the
USERNAME_IS_ALREADY_TAKEN
is USERNAME_IS_ALREADY_TAKEN_PLEASE_TRY_ANOTHER

Should I verify this with
_PLEASE_TRY_ANOTHER
removed?