Navigation

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

    'errorcode': 'AB1004',

    Test
    0
    5
    36
    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.
    • Mnagesh
      Mnagesh last edited by

      4c629cfe-66cd-42fe-be9f-e83f3c5d172b-image.png

      I am getting this error frequently and it is difficult to Handel since it is not an time out error .

      kindly rectify the issue .

      we are getting this while getcandeldata

      @Moderator_1
      @Moderator_2
      @Moderator_3
      @administrators

      Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

      Mnagesh E 2 Replies Last reply Reply Quote 0
      • E
        excelman11 @Mnagesh last edited by

        @Mnagesh I am also receiving the same error.

        [E 240511 11:41:17 smartConnect:243]
        
        Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Invalid date or time format. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': '30:03:c8:68:51:0a', 'Accept': 'application/json', 'X-PrivateKey': 'B4aGvizX', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '1333', 'interval': 'ONE_MINUTE', 'fromdate': '2024-05-10 08:00 08:00', 'todate': '2024-05-10 17:00 17:00'}, Response: {'message': 'Invalid date or time format', 'errorcode': 'AB13000', 'status': False, 'data': None}
        

        Despite using try and except in python, I am still unable to deal with this error.

        M 1 Reply Last reply Reply Quote 0
        • Mnagesh
          Mnagesh @Mnagesh last edited by

          @Mnagesh !error 1.jpg
          @Moderator_1
          @Moderator_2
          @Moderator_3

          Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

          Mnagesh 1 Reply Last reply Reply Quote 0
          • Mnagesh
            Mnagesh @Mnagesh last edited by

            @Mnagesh error 2.jpg
            @Moderator_1
            @Moderator_2
            @Moderator_3

            Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

            1 Reply Last reply Reply Quote 0
            • M
              Moderator_3 @excelman11 last edited by

              Hello @excelman11
              As per your request you have the fromdate and todate twice that is why the issue is happening Son kindly format your request accordingly
              Regards,
              SmartAPI Team

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