Navigation

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

    Something Went Wrong, Please Try After Sometime","errorcode":"AB1004" For Historical API

    General Discussion
    2
    5
    17
    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.
    • A
      alaguku02 last edited by

      Hi @administrators

      Whenever I made a call to historical api, I received this message.

      {"message":"Something Went Wrong, Please Try After Sometime","errorcode":"AB1004","status":false,"data":null}

      Im running automation with request 1sec delay, even after rotating the key, I couldn't get the data. Kindly check it.

      Also this message doesn't give any idea, what went exactly wrong. Giving that explanation will also helps here

      Broker ID: A1208575

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

        @administrators Kindly help here

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

          @administrators kindly help here.

          1 Reply Last reply Reply Quote 0
          • S
            suyogpatil last edited by suyogpatil

            I had same issue they told to increase the interval for fetching. still it not working for me.

            reply

            Hello ****,

            I hope everything is going well for you.

            Your current loop sends 1 request per second, which is fine (below the 3 req/sec limit),
            but if you run multiple scripts / symbols under the same client code, you can easily exceed the limit cumulatively.

            Loop through your 100 symbols in batches of 3, add a 1- 2 second delay between each batch, so you stay under 2 requests/sec and avoid throttling errors.

            If any request fails (rate limit or transient error), queue it for retry after a short delay.

            Hopefully, this will resolve your issue if you have any further questions, please get in touch with us.

            @administrators check it is the issue here

            1 Reply Last reply Reply Quote 0
            • S
              suyogpatil last edited by suyogpatil

              @administrators it is rate limit please send proper error code 429 for it.. and also as per documentation it in permissible rate limit. please give more explanation to it in documentation.

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