Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. pinks
    3. Posts
    P
    • Profile
    • Following 3
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Posts made by pinks

    • help pls

      to create gtt order

      if i use hardcoded access token then it works fine,
      but if i make dynamic to get access token, i get invalid token error..

      Response data for NSE:IRCTC: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

      this
      headers = {
      'Authorization': f'Bearer {authToken}'

      is the problematic part..

      pls someone help me

      my client id is P122800

      posted in General Discussion
      P
      pinks