There is a Bug in Node.JS Even Though I Have All The Correct Code and Credentials.


  • Hi,

    I encountered a bug after writing all the correct Node.js-based code, including the HTML and CSS.

    **Please Remember My All The Credentials Were Correct {

    api_key = API Key Which Is Visible In Angel Smart API Portal,

    ucc = Client Code,

    pass = Angel Trading Terminal's Login Password,

    totp = TOTP Which Is Visible In Angel Smart API Portal

    }**

    The page is displaying some error messages. Please check my code and the screenshot.

    Please note that for safety reasons, I have removed the credentials from the HTML page, so please ignore that.

    My Codes Are Here In This Link

    bug AB1050.PNG

    Thank you!


  • @Smart You would need to set up TOTP in your authenticator app (eg. google authenticator). The string that you are sendings as a TOTP in the code is key to be configured in the authenticator app to generate the TOTP.