Custom Create Script

I have three questions.

  • The first.
    I am trying to create a user in an external database with an external API during sign-up.
    I am referring to the following URL (Example), after calling the API with the method “send”, does the error response of the API come into the variable “err”?
    Create Script Templates

  • Second.
    Is “ === “USER_ALREADY_EXISTS”” based on the assumption that it is set to the error response of an external API?

  • Third.
    Is there any security problem in executing a query directly to an external database in a create script?
    Reference URL (Create Script Templates)