Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

    Python SDK
    0
    1
    18
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yrj.panchal last edited by

      I'm getting this error. can you help me on this. I have validated my Token is correct.
      API_KEY = 'xxxxxxx'
      angel_obj = SmartConnect(api_key=API_KEY)

      Queries:

      1. do we need to authenticate this 'angel_obje' using generateSession() or directly we can use this for Historical data.
      2. angel_obj = SmartConnect(api_key=API_KEY), do we need to use only once in our code or need to use again again as per the uses.
      1 Reply Last reply Reply Quote 1
      • First post
        Last post