invalid token error


  • obj=SmartConnect(api_key="something")
    

    this works and i can get jwt and refresh tokens.
    but fetching data from historical api give

    {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
    

    note: it was working 2 days back