Navigation

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

    To datetime can't be greater than current datetime

    Python SDK
    6
    6
    16
    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.
    • R
      rakeshkr114 last edited by

      Hi @admin
      I am getting error in Historical API with following param even though datetime (2026-02-25 09:41) was less than current datetime (2026-02-25 09:51):

      {'exchange': 'BFO', 'fromdate': '2026-02-21 09:41', 'interval': 'ONE_MINUTE', 'symboltoken': '1162536', 'todate': '2026-02-25 09:41'}

      Error:
      {'data': None, 'errorcode': 'AB1012', 'message': "To datetime can't be greater than current datetime", 'status': False}

      It was working all fine till yesterday! Please check it ASAP!

      A L 2 Replies Last reply Reply Quote 1
      • B
        batman last edited by

        @admin please fix this, it was working completely fine till yerstday

        1 Reply Last reply Reply Quote 0
        • V
          vinayakrao last edited by

          I am also getting the same error, but for from_date

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

            @admin Need immediate resolution on this. Even closed candles are getting downloaded and this is a generic message on all from and to calls.

            1 Reply Last reply Reply Quote 0
            • L
              Lakshay.kh @rakeshkr114 last edited by

              @admin facing the same issue, kindly update us on the same

              1 Reply Last reply Reply Quote 0
              • A
                akshansh08 last edited by

                @admin facing the same issue. Please check asap

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