Navigation

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

    Bugs

    • R

      NIFTY and BANKNIFTY symbol token are missing
      • ravitandur  

      61
      0
      Votes
      61
      Posts
      647
      Views

      M

      Hi, @dorje , @rjbanna : I guess we have to wait till we receive any update from angel broking support team.
    • N

      Incorrect Websocket Data
      • nvegupta  

      6
      2
      Votes
      6
      Posts
      49
      Views

      N

      Hi @bhavesh78patil , This seems to be bug. https://smartapi.angelbroking.com/topic/12/error-at-login-api-your-user-id-or-password-is-invalid
    • A

      Symbol search stopped working
      • A584622  

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • S

      Smart Api login Error: Unable to authenticate you with this device, please try again
      • Simba007  

      2
      0
      Votes
      2
      Posts
      13
      Views

      A

      @Simba007 Please try again and check.
    • S

      Unable to authenticate you with this device, please try again
      • Subhash_indian  

      2
      1
      Votes
      2
      Posts
      11
      Views

      A

      @Subhash_indian were you able to log in previously? The login mechanism is working fine.
    • G

      Error : Couldn't parse the JSON response received from the server: b''
      • GaneshMani  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • R

      'https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json'
      • RAMANA  

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • K

      Unable to authenticate you with this device, please try again
      • keval  

      4
      1
      Votes
      4
      Posts
      19
      Views

      A

      please send the API request that you are punching.
    • S

      Login to my API not working
      • Subhash_indian  

      1
      1
      Votes
      1
      Posts
      17
      Views

      No one has replied

    • H

      Get Historical API not working
      • harishgrt  

      2
      0
      Votes
      2
      Posts
      15
      Views

      A

      @harishgrt 400 bad request would mean the request body is not proper.
    • I

      9:15 15Minute Candle data is not coming when you fetch at 9:30 AM (even with 1 minute buffer 9:31)
      • imbhavaniprasad  

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      @imbhavaniprasad it is working fine. Please check via postman.
    • P

      Not getting user email & mobile in user profile api
      • PareshBhatiya  

      3
      0
      Votes
      3
      Posts
      24
      Views

      J

      @Moderator_3 https://apiconnect.angelbroking.com/rest/secure/angelbroking/user/v1/getCompleteProfile using this URL I am getting a 404.
    • A

      Unable to see bonds in holdings
      • AAAF466091  

      2
      0
      Votes
      2
      Posts
      16
      Views

      A

      @AAAF466091 you cannot see bonds in holdings via smartAPI because you cannot trade in bonds via SmartAPI. You will be able to see bonds in your holdings in the app.
    • J

      "orderstatus" to 'open' while cancelling an SL order (Intermittent behavior though)
      • Jestin V James  

      1
      0
      Votes
      1
      Posts
      6
      Views

      No one has replied

    • S

      AB2001 - Internal Error
      • StocksDeveloper  

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • S

      Holdings data not coming today
      • StocksDeveloper  

      8
      0
      Votes
      8
      Posts
      34
      Views

      S

      Same issue today as well.
    • P

      Getting request time out error from server
      • pbhavin91  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • T

      from Smartapi import SmartConnect, WebSocket ModuleNotFoundError: No module named 'Smartapi'
      • Trishul  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • P

      {"message":"Invalid Product Type","errorcode":"AB1012","status":false,"data":null}
      • PareshBhatiya  

      6
      0
      Votes
      6
      Posts
      59
      Views

      R

      @admin The full request code and request payload are are added here for further details The app is a wpf app. public async Task<bool> PlaceEntryOrder(TradingAccount tradingAccount, Position position) { bool result = false; string uri = "https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/placeOrder"; //string uri = $"https://webhook.site/a6ac03d9-a9bc-4665-9dae-56cc1f2b5c24"; try { if (tradingAccount?.IsLoggedIn == true) { HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Post, uri); httpRequestMessage.Headers.Add("Authorization", "Bearer " + tradingAccount?.JwtToken); httpRequestMessage.Headers.Add("Accept", "application/json"); httpRequestMessage.Headers.Add("X-UserType", "USER"); httpRequestMessage.Headers.Add("X-SourceID", "WEB"); httpRequestMessage.Headers.Add("X-ClientLocalIP", ""); httpRequestMessage.Headers.Add("X-ClientPublicIP", ""); httpRequestMessage.Headers.Add("X-MACAddress", ""); httpRequestMessage.Headers.Add("X-PrivateKey", tradingAccount?.ApiKey); OrderPlaceRequest request = new OrderPlaceRequest(); request.TradingSymbol = position.TradingSymbol; request.SymbolToken = position.Token; request.Exchange = position.Exchange.ToString(); request.OrderType = position.OrderType.ToString(); request.ProductType = position.ProductType.ToString(); if (position.TradeSide == Enums.TradeSides.Buy) { request.TransactionType = "BUY"; } else { request.TransactionType = "SELL"; } request.Price = position.EntryPrice.ToString("N2"); request.Quantity = position.EntryQty.ToString("N0"); httpRequestMessage.Content = JsonContent.Create(request); HttpClient httpClient = _httpClientFactory.CreateClient(); httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); HttpResponseMessage httpResponseMessage = await httpClient.SendAsync(httpRequestMessage); if (httpResponseMessage.IsSuccessStatusCode) { string response = await httpResponseMessage.Content.ReadAsStringAsync(); if (response.Contains("SUCCESS")) { OrderPlaceResponse? orderPlaceResponse = await httpResponseMessage.Content.ReadFromJsonAsync<OrderPlaceResponse>(); if (orderPlaceResponse != null) { if (orderPlaceResponse.Status == true && orderPlaceResponse.Data != null && orderPlaceResponse.Data.Script == position.TradingSymbol) { position.EntryStatus = Enums.TradeStatus.Open; position.EntryOrderId = orderPlaceResponse.Data.OrderId; position.EntryUniqueOrderId = orderPlaceResponse.Data.UniqueOrderId; result = true; } } } else { ErrorResponse? errorResponse = await httpResponseMessage.Content.ReadFromJsonAsync<ErrorResponse>(); if (errorResponse != null) { position.EntryStatus = Enums.TradeStatus.Failed; _loggerService.Error(errorResponse.Message); } } } else { position.EntryStatus = Enums.TradeStatus.Failed; _loggerService.Error("Request failed. Check network connection"); } } } catch (Exception ex) { Trace.WriteLine("Login Error : " + ex.ToString()); } return result; } And the request captured in webhook.site is given below for more details { "variety": "NORMAL", "tradingSymbol": "NIFTY27FEB2523150CE", "symbolToken": "55645", "transactionType": "BUY", "exchange": "NFO", "orderType": "LIMIT", "productType": "INTRADAY", "duration": "DAY", "price": "27.50", "squareoff": "0", "stoploss": "0", "quantity": "75", "triggerPrice": "0", "trailingStopLoss": "0", "disclosedQuantity": "0", "orderTag": "" } Screenshot 2025-02-21 210124.png
    • R

      Internal Server error for all requests
      • robotrade  

      5
      0
      Votes
      5
      Posts
      60
      Views

      R

      Hello, any update on the solution regarding this issue @admin @Moderator_1 @Moderator_2 @Moderator_3 @moderator_4 @bhaveshjain @batman1234 ?