Accessing username verification

In DB under User individuals can set their own username. In using Moralis SDK in my project and I know that Moralis automatically checks and prevents duplication, but right now all I get is error code in console.

How do I access that built-in functionality/feature to create an alert in DOM?

You can use a cloud function where you can query the entire user table and check if that user name exists. You will have to use master key.

1 Like