Invalid API Key


  • Hello SmartAPI Support Team,

    My Angel One SmartAPI login is successful. However, when I request historical market data using the getCandleData endpoint, I receive the following error:

    Error Code: AG8004
    Error Message: Invalid API Key

    My API application type is Trading.

    Please check whether my API application has the required access for historical market data and advise how to resolve this issue.

    Thank you.