Throwing Invalid token everytime: rest/secure/angelbroking/historical/v1/getCandleData


  • The above URL when hit via a httpclient is throwing:
    {
    "success": false,
    "message": "Invalid Token",
    "errorCode": "AG8001",
    "data": ""
    }

    I'm using the access token as the bearer code, what am I doing wrong?