Navigation

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

    ERROR CODE AB1004

    Python SDK
    5
    7
    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
      ROIW1083 last edited by

      How to fix this error

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

        Hi @roiw1083

        Pls attach error screenshot along with description

        D 1 Reply Last reply Reply Quote 0
        • N
          niharika.2102 last edited by

          Request: {'exchange': 'NSE', 'symboltoken': '10986', 'interval': 'FIVE_MINUTE', 'fromdate': '2026-01-02 09:15', 'todate': '2026-01-02 10:30'},

          Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

          kindly let me know how to fix this
          ERROR CODE - AB1004

          1 Reply Last reply Reply Quote 0
          • D
            Deeeepak @admin last edited by

            @admin

            [E 260106 11:13:55 smartConnect:246] 
            Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData, 
            Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.198.198.198', 'X-MACAddress': 'b5:b5:b5:b5:b5:b5', 'Accept': 'application/json', 'X-PrivateKey': 'XXXXXX', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, 
            Request: {'exchange': 'NFO', 'symboltoken': '119475', 'interval': 'FIVE_MINUTE', 'fromdate': '2026-01-05 09:15', 'todate': '2026-01-06 11:13'}, 
            Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
            

            Timestamp: 06-Jan-2026 11:13:55
            Inputs:
            NATIONALUM27JAN26335CE
            2026-01-05 09:15
            2026-01-06 11:13

            D 1 Reply Last reply Reply Quote 0
            • R
              rvrao1415 last edited by

              Screenshot 2026-01-07 141629.png

              Please let me know what might be the problem.

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

                Hi @rvrao1415

                Error is pretty clear. Please do check date & time format in request. Refer below doc for sending appropriate data format

                https://smartapi.angelbroking.com/docs/Historical

                1 Reply Last reply Reply Quote 0
                • D
                  Deeeepak @Deeeepak last edited by

                  Hi @admin can you please share what's wrong with my inputs? I get the same error.

                  [E 260107 09:21:35 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData.
                  Error: Something Went Wrong, Please Try After Sometime.
                  URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData,

                  Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': 'XXXXXXXX', 'X-MACAddress': 'XXXXXXXXXX', 'Accept': 'application/json', 'X-PrivateKey': 'XXXXXX', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, 
                  Request: {'exchange': 'NFO', 'symboltoken': '123274', 'interval': 'FIVE_MINUTE', 'fromdate': '2026-01-06 09:15', 'todate': '2026-01-07 09:20'}, 
                  Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post