Navigation

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

    leena.1234

    @leena.1234

    1
    Reputation
    23
    Posts
    19
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    leena.1234 Follow

    Best posts made by 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

    Latest 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