Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    GetCandleData API randomly returns 403

    Bugs
    2
    9
    88
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Madhusree last edited by

      Request:
      {"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-19 11:01","todate":"2021-07-19 11:45"}

      Response:
      {"status":403,"message":""}

      This is not happening all the time, But occurs 20 - 30 times randomly in a day.

      A 2 Replies Last reply Reply Quote 0
      • A
        admin @Madhusree last edited by

        HI @Madhusree ok we have noted this we will try to evaluate kindly provide your client id.

        1 Reply Last reply Reply Quote 0
        • M
          Madhusree last edited by

          @admin
          Client ID: M436859

          A 1 Reply Last reply Reply Quote 0
          • A
            admin @Madhusree last edited by

            HI @Madhusree we will analyze and update you.

            1 Reply Last reply Reply Quote 0
            • M
              Madhusree last edited by

              @admin Any update on above issue?

              A 1 Reply Last reply Reply Quote 0
              • A
                admin @Madhusree last edited by

                HI @Madhusree We have reported this to the team we are evaluating the options we will update you soon.

                1 Reply Last reply Reply Quote 0
                • M
                  Madhusree last edited by

                  In my todays (27/07/2021) log, I noticed getCandleData method returns some weird errors more than 50 times.

                  Error 1:

                  Sample Request:
                  {"exchange":"NSE","symboltoken":"694","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:46","todate":"2021-07-27 10:15"}

                  Response:
                  {"status":500,"message":"Internal Server Error"}

                  Error 2:

                  Sample Request:
                  {"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:50","todate":"2021-07-27 10:19"}

                  Response:
                  TypeError: Cannot read property 'status' of undefined

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    admin @Madhusree last edited by

                    HI @Madhusree said in GetCandleData API randomly returns 403:

                    Request:
                    {"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-19 11:01","todate":"2021-07-19 11:45"}
                    Response:
                    {"status":403,"message":""}
                    This is not happening all the time, But occurs 20 - 30 times randomly in a day.

                    this is happening as you are breaching the maximum request limit kindly check the documentation.

                    1 Reply Last reply Reply Quote 0
                    • A
                      admin @Madhusree last edited by

                      HI @Madhusree we have reported this to the team.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post