Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. arunsingh
    3. Posts
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by arunsingh

    • RE: Websocket 2.0, frequently getting 401

      @admin, Data not receiving

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket 2.0, frequently getting 401

      Hi @admin,

      Any changes in WS2.0?
      It was working find but again started getting

      com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 429 Too Many Requests

      Could you please look into this? Error Too many requests is not correct. Getting the same for the st req

      posted in General Discussion
      A
      arunsingh
    • Websocket 2.0, frequently getting 401

      Hi @admin ,

      I am getting below error, when I try to authenticate.
      Sometimes it works, but sometimes it give below error.

      I am passing headers as below
      ws.addHeader("Authorization", "Bearer " + token);
      ws.addHeader("x-api-key", apiKey);
      ws.addHeader("x-client-code", clientId);
      ws.addHeader("x-feed-token", feedToken);

      OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 401 Unauthorized

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket multiple sessions

      @admin When can we expect a fix on this?

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket multiple sessions

      @admin thanks. This is great 👍

      posted in General Discussion
      A
      arunsingh
    • Websocket multiple sessions

      Hi @admin,how many websocket sessions i can open to fetch different set of instruments data ? With one feedtoken

      posted in General Discussion
      A
      arunsingh
    • RE: History api -> AB2001

      @admin When can we expect historical data for Index and FNO?

      posted in Bugs
      A
      arunsingh
    • RE: History api -> AB2001

      @admin My bad. It's working properly. Somehow I ignored fromdate and todate from request, but it was getting printed in the request logs at my end. 🙂

      posted in Bugs
      A
      arunsingh
    • RE: History api -> AB2001

      @admin

      Request is as below

      {
      "exchange" : "NSE",
      "symboltoken" : "3045",
      "interval" : "FIVE_MINUTE",
      "fromdate" : "2021-06-01 05:57",
      "todate" : "2021-06-03 05:57"
      }

      posted in Bugs
      A
      arunsingh
    • History api -> AB2001

      Hi @admin , I am getting below error message in history API

      {
      "success": null,
      "status": "false",
      "message": "Internal Error",
      "data": null,
      "errorcode": "AB2001"
      }

      posted in Bugs
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin Thanks

      posted in Python SDK
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin It's been more than 3 days, am still getting this error.

      Could you please confirm on migration part ? request submitted 3 days back
      SBUV1008 account

      "message": "Login Id or password is invalid",
      "data": null,
      "errorcode": "AB1007"

      posted in Python SDK
      A
      arunsingh
    • RE: Please enumerate the Order status in com.angelbroking.smartapi.utils.Constants

      @admin Hi, Please share this with me too [order status list with meaning]. bhavesh78patil@gmail.com

      posted in NodeJS SDK
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin Already done

      posted in Python SDK
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      Hi @admin, Please migrate SBUV1008 account
      Br,
      Bhavesh

      posted in Python SDK
      A
      arunsingh
    • RE: Getting different error response for endpoints

      @admin Yes. My account is migrated and API's are working fine. I was trying to test error scenarios for my application and found out that different error response is coming for different endpoints

      posted in Bugs
      A
      arunsingh
    • Getting different error response for endpoints

      Hi,

      I was trying to test error scenarios and am getting different response fields and it is not as per the documentation.

      Login endpoint
      {"status":false,"message":"Login Id or password is invalid","errorcode":"AB1007","data":null}

      Order Endpoint
      {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}

      Please check the "success" & "errorCode" different name in different response

      Which one should we follow?

      Br,
      Bhavesh

      posted in Bugs
      A
      arunsingh
    • RE: EOD data for all instruments

      @admin ok. Thanks.

      posted in General Discussion
      A
      arunsingh