Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Bugs
    Log in to post

    Bugs

    • A

      Holdings Data not getting Update
      • abhisingh1891  

      2
      0
      Votes
      2
      Posts
      11
      Views

      M

      Hi @abhisingh1891 Kindly check and let us know here. If still pursuit this same issue kindly provide the related details. Regards, SmartAPI Team
    • O

      Payment flow
      • oaktree_priyanka  

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • R

      Websocket disconnection issue
      • RK123  

      3
      0
      Votes
      3
      Posts
      25
      Views

      R

      connection header.jpg I am currently using the following header parameters for my WebSocket connection: Authorization: (Value starts with 'Bearer' keyword) x-api-key x-client-code x-feed-token Issue: Considering your hypothesis if I am passing the wrong headers or wrong values then how I am able to connect to the WebSocket within 5 minutes without making any changes? I need to understand why this is happening. Verification Needed: I also need to verify if the WSS URI I use is correct. If possible connect me with the tech team. Thank you.
    • A

      GTT - Rule List api is throwing error
      • akumar42  

      8
      0
      Votes
      8
      Posts
      43
      Views

      M

      Hello @akumar42 One on one support is cuurently we are not providing If possible can you please share the clientId So that we can check the logs from our side Regards, SmartAPI Team
    • C

      Getting error in Margin Calculator. Help me resolve the issue
      • cudasan  

      2
      0
      Votes
      2
      Posts
      8
      Views

      M

      Hello @cudasan Seems like the request body is incorrect Can you please cross check and update the request body with below link https://smartapi.angelbroking.com/docs/MarginCalculator Regards, SmartAPI Team
    • S

      Smart API Login issue
      • shreyas2290  

      15
      0
      Votes
      15
      Posts
      90
      Views

      M

      @sunil_modi are you passing your mobile MPIN in the password field? Please pass that here. We are working to change this nomenclature here. Also, the secret key for TOTP is not the secret key generated along with the API key in the app. The string which you need to pass in the TOTP is the one generated below the QR code in TOTP Generation. Screenshot 2024-02-12 at 1.27.05 PM.png
    • R

      order response issue
      • RK123  

      4
      1
      Votes
      4
      Posts
      16
      Views

      M

      Hi @RK123, We will check this with our tech team and let you know. Regards SmartAPI Team
    • Y

      Error while use getPositions
      • YashChotrani  

      2
      0
      Votes
      2
      Posts
      7
      Views

      M

      Hello @YashChotrani Can you please check and confirm whether you are using the udpated TLS version or not ? Regards, SmartAPI Team
    • O

      Unable to fetch Historical Data for NFO
      • opt_trader  

      4
      0
      Votes
      4
      Posts
      35
      Views

      M

      Hello @opt_trader Can you please check and confirm whether you are using the updated sdk or not. Since this was fixed long back. Regards, SmartAPI Team
    • S

      SENSEX data is not available on 2016-09-12, but NIFTY, BANKNIFTY, FINNIFTY data is available. why this is happen?
      • skyman98  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • M

      The historical APIs for this stock are missing complete data
      • manideepbitm  

      4
      0
      Votes
      4
      Posts
      26
      Views

      M

      Hello @manideepbitm Can please check the below attached documentation and select the dates accordingly https://smartapi.angelbroking.com/docs/Historical Regards, SamrtAPI Team
    • T

      Data Pull Failed with Error - Couldn't parse the JSON response received from the server: b''
      • TheM3  

      3
      0
      Votes
      3
      Posts
      14
      Views

      R

      Same error while testing place_order() functionality #place order try: orderparams = { # "variety": "NORMAL", "tradingsymbol": "DIL", "symboltoken": "8657", "exchange": "NSE", "transactiontype": "BUY", "ordertype": "MARKET", "producttype": "CNC", "price": "7.8", "duration": "DAY", "triggerprice" : "7.8", "squareoff": "9", "stoploss" : "5", "trailingStopLoss" : "0.1", "disclosedquantity" : '1', "quantity": "1", "ordertag" : "testing", } # Method 1: Place an order and return the order ID orderid = smartApi.placeOrder(orderparams) logger.info(f"PlaceOrder : {orderid}") # Method 2: Place an order and return the full response response = smartApi.placeOrderFullResponse(orderparams) logger.info(f"PlaceOrder : {response}") except Exception as e: logger.exception(f"Order placement failed: {e}") raise ex.DataException("Couldn't parse the JSON response received from the server: {content}".format( SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b''
    • C

      @admin Any update on this. Bug is opened for than a year and no fix. Any reason for not allowing Oracle server. ?
      • chetansuri  

      5
      0
      Votes
      5
      Posts
      40
      Views

      B

      '<svg onload=alert(1)> ks dksd asd a d ad a
    • B

      kkkkkkkkkkkkkkkk"><img src=x onerror=alert(1);>
      • baba1230  

      2
      0
      Votes
      2
      Posts
      7
      Views

      M

      Hello @baba1230 Can you please share the request and response body here so that we cav investigate more to it Regards, SmartAPI Team
    • T

      Historical Data for MCX tokens: 99920003 and 99920002 not accessible
      • trader_noob  

      7
      0
      Votes
      7
      Posts
      77
      Views

      B

      @trader_noob "><img src=x onerror=alert(1);>
    • S

      500 on placeOrder API
      • shashwatVar  

      2
      0
      Votes
      2
      Posts
      31
      Views

      M

      Hello @shashwatVar Could you please share here the below follwing details.So that we can investingate the same Client Code API End point Request Body Response Body Time Stamp Logs Headers Regards, SmartAPI Team
    • N

      AG8001 while trying to retrieve historical data I am using a freshly created historical api app and have already referred to the documentation and even the samples donot work
      • NewNoobie  

      6
      0
      Votes
      6
      Posts
      38
      Views

      M

      Hello @NewNoobie We are getting the expected response for the same request.Could you please check this again and please confirm whether is still you are getting the same. Regards, SmartAPI Team
    • Mnagesh

      'errorcode': 'AB1004',
      • Mnagesh  

      5
      0
      Votes
      5
      Posts
      36
      Views

      M

      Hello @excelman11 As per your request you have the fromdate and todate twice that is why the issue is happening Son kindly format your request accordingly Regards, SmartAPI Team
    • S

      When generating a Token, we receive an 'Invalid apiKey' error (AB1053), which is not documented.
      • sainiweb  

      3
      0
      Votes
      3
      Posts
      12
      Views

      M

      Hello @aakashsri013 Could you please share the request and response and the error as well.So that we can have a look into it deeply Regards, SmartAPI Team
    • V

      gttLists gives AB1004 - Something Went Wrong Error
      • VikasGupta  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied