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

1 out of 1