Navigation

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

    help pls

    General Discussion
    0
    1
    1
    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.
    • P
      pinks last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post