Navigation

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

    Posts made by leena.1234

    • RE: API down as usual.

      @admin Now this has become every day's issue. Please provide a permanent solution.

      Capture.JPG

      posted in Bugs
      L
      leena.1234
    • RE: API down

      @admin
      Yes, I am also facing this issue for a long time.
      And since yesterday my order placement is affected by this.
      Please this asap.

      posted in Bugs
      L
      leena.1234
    • Orders not getting placed.

      @admin
      Hello.
      I am getting internal server error while placing orders today.
      Due to this some of the orders were not placed, which caused a very big issue.
      Have a look at this error log.

      angel.JPG

      posted in Python SDK
      L
      leena.1234
    • RE: Error while connecting to smartAPI

      @admin

      I am facing similar error while logging into account using SmartAPI.
      After multiple attempts login is successful but other API calls are getting interrupted by this json.decoder.JSONDecodeError error.

      posted in Python SDK
      L
      leena.1234
    • RE: Internal server error

      @admin

      These client IDs are majorly facing issues -

      Rist1038
      RIST1012

      posted in Python SDK
      L
      leena.1234
    • RE: Internal server error

      @admin
      Any update on my query?

      posted in Python SDK
      L
      leena.1234
    • RE: Internal server error

      @admin
      The error has occurred yesterday only.
      When this error has been solved?
      Also let me know if I need to change anything in current API or scripts?

      detailed error log is as below -

      ERROR:2021-08-10 13:21:20,027:MainThread:exception in get_rms_limit() Couldn't parse the JSON response received from the server: b'<!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93 Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 \xe2\x80\x93 Internal Server Error</h1></body></html>'
      Traceback (most recent call last):
      File "C:\ProgramData\Anaconda3\lib\site-packages\smartapi\smartConnect.py", line 188, in request
      data = json.loads(r.content.decode("utf8"))
      File "C:\ProgramData\Anaconda3\lib\json_init
      .py", line 357, in loads
      return _default_decoder.decode(s)
      File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 337, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 355, in raw_decode
      raise JSONDecodeError("Expecting value", s, err.value) from None
      json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "order.py", line 237, in get_rms_limit
      File "C:\ProgramData\Anaconda3\lib\site-packages\smartapi\smartConnect.py", line 327, in rmsLimit
      rmsLimitResponse= self._getRequest("api.rms.limit")
      File "C:\ProgramData\Anaconda3\lib\site-packages\smartapi\smartConnect.py", line 223, in _getRequest
      return self._request(route, "GET", params)
      File "C:\ProgramData\Anaconda3\lib\site-packages\smartapi\smartConnect.py", line 191, in _request
      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'<!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93 Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 \xe2\x80\x93 Internal Server Error</h1></body></html>'

      posted in Python SDK
      L
      leena.1234
    • Internal server error

      @admin
      I am facing issues while using API
      Internal server error occurs almost on an alternative day.
      And that is interrupting my algorithm while giving API calls for order placement, RMS limits, and so on.

      Please suggest, why this error is occurring? and how it can be handled in code?

      Below I am attaching error traceback-

      INFO:2021-08-10 13:24:11,226:MainThread:exception in place_new_orders : Couldn't parse the JSON response received from the server: b'<!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93 Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 \xe2\x80\x93 Internal Server Error</h1></body></html>'

      posted in Python SDK
      L
      leena.1234
    • RE: Unable to log in using API. Errorcode AB1034

      @admin
      Any update?

      posted in Python SDK
      L
      leena.1234
    • RE: Unable to log in using API. Errorcode AB1034

      @admin

      Thanks for your prompt reply.
      These accounts are facing issues-

      RIST1039, RIST1040, N231033

      posted in Python SDK
      L
      leena.1234
    • RE: Unable to log in using API. Errorcode AB1034

      @admin

      Yes, the account is migrated and API is created after migration.
      Also, I changed the password and tried logging with new password but the Issue is still there

      posted in Python SDK
      L
      leena.1234
    • Unable to log in using API. Errorcode AB1034

      @admin
      I am unable to log in to my account using API.

      Password for my account is correct and I am able log in to the Angel Broking web console using these credentials.
      Still while using the same credentials and API key, log in to API is failed.
      I am getting error AB1034. Please let me know why this issue is occurring and how should it be handled?
      The error log is given below.
      Thanks in advance.
      error.JPG

      posted in Python SDK
      L
      leena.1234
    • Tick values are refreshing very slowly in websocket streaming.

      Hello,
      I am using SmartWebSocket() for Websocket streaming to fetch script feeds for both Indices ad Equities.

      It is observed that, there is a delay in tick values update and LTP is not getting reflected fastly so it's value is differing from the actual price on Angel Broking web console.

      So there are 2 major questions-

      1. How can we sync with the current prices?
      2. Also what is the ideal delay time in tick values update as comparing to Angel Broking web console?
      posted in Python SDK
      L
      leena.1234
    • Error in login in - Internal server Error

      @admin
      I am facing an issue while log in using API.
      Below is the response I am getting while generating the session.
      This is the most frequent error faced while working with API.
      Please guide.
      Thanks in advance.

      error.JPG

      posted in Python SDK
      L
      leena.1234
    • RE: Unable to deal with " Invalid return character or leading space in header: X-ClientPublicIP "

      @admin

      Thank you for your response.
      I'm using 3 client IDs in my application.
      Client IDs are: L38845, I20415, M282515

      posted in Python SDK
      L
      leena.1234
    • Issue in getting responses from API

      @admin
      I am continuously getting error while login and fetching orderBook.
      Due to this, I'm unable to place orders using my application.
      What causes this error to occur? and how should I resolve this?

      Error is:
      " Invalid return character or leading space in header: X-ClientPublicIP "

      Hoping for a speedy response.

      posted in Python SDK
      L
      leena.1234
    • RE: Problem in getting websocket data

      @rajanprabu
      Yes I'm using Python SDK for it.

      posted in Python SDK
      L
      leena.1234
    • Problem in getting websocket data

      @admin
      After 10 - 15 minutes of connection, the websocket data is stopped and I'm unable to get ticks.
      Please guide me why websocket connection is getting closed automatically?

      posted in Python SDK
      L
      leena.1234
    • RE: internal server error

      @panda1234

      Similar error I am facing while fetching position and orderBook.

      posted in Python SDK
      L
      leena.1234