Navigation

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

    ECONNABORTED Error while placing GTT order

    Test
    2
    3
    14
    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.
    • K
      krunal96 last edited by krunal96

      Hi Team,

      We are getting ECONNABORTED Error while placing GTT order. Message is : 'timeout of 7000ms exceeded'

      Please find the screenshot of the same

      d1fdbcbd-3fa2-40ed-a974-0518dc80e381-image.png

      The exact Request packet is as below. (error.config)

      {
        "url": "/rest/secure/angelbroking/gtt/v1/createRule",
        "method": "post",
        "data": {
          "tradingsymbol": "SBIN-EQ",
          "symboltoken": "3045",
          "exchange": "NSE",
          "producttype": "DELIVERY",
          "transactiontype": "BUY",
          "disclosedqty": 1,
          "price": 410,
          "qty": 1,
          "triggerprice": "410",
          "timeperiod": "20"
        },
        "headers": {
          "Accept": "application/json",
          "Content-Type": "application/json",
          "X-ClientLocalIP": "192.168.0.107",
          "X-ClientPublicIP": null,
          "X-MACAddress": "54:13:79:ba:68:69",
          "X-UserType": "USER",
          "X-SourceID": "WEB",
          "X-PrivateKey": "29YKelWB",
          "Authorization": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1cybmFtZSI6Iko4ODQ4OCIsInJvbGVzIjowLCJ1c2VydHlwZSI6IlVTRVIiLCJpYXQiOjE2MjEyMzQ0MTUsImV4cCI6MTcwNzYzNDQxNX0.0Yyn_5eAJpNqIjpv2mCBfPnATMUuExb4KLbvRcsm_ZoK_9gVbhTjDmuFsQzJchRULGsT0WFocUcCQ61aoOpY3w",
          "User-Agent": "axios/0.20.0",
          "Content-Length": 179
        },
        "baseURL": "https://apiconnect.angelbroking.com",
        "transformRequest": [
          null
        ],
        "transformResponse": [
          null
        ],
        "timeout": 7000,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1
      }
      
      A 1 Reply Last reply Reply Quote 0
      • A
        admin @krunal96 last edited by

        Hi @vishant just to update you our team is already working on fixing the gtt orders,We will update you once the issue is resolved.

        K 1 Reply Last reply Reply Quote 0
        • K
          krunal96 @admin last edited by

          @admin Thank you for the prompt reply.

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