Navigation

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

    Getting error AB1004

    General Discussion
    0
    3
    20
    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.
    • C
      chiraggarg1702 last edited by

      I just created my account and was testing Smart API and got the following error while running the historical API by Python SDK.

      Request: {'exchange': 'NSE', 'symboltoken': '1594', 'interval': 'ONE_HOUR', 'fromdate': '2024-08-11 08:16', 'todate': '2024-08-11 07:16'}, 
      Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      
      M V 2 Replies Last reply Reply Quote 0
      • M
        Moderator_3 @chiraggarg1702 last edited by Moderator_3

        Hi @chiraggarg1702 Date format time passed wrongly from date time should be less than to date time. Kindly check request from your end and you will get the resposne.

        Regards,
        SmartAPI Team.

        1 Reply Last reply Reply Quote 0
        • V
          vishnudeepa @chiraggarg1702 last edited by

          @chiraggarg1702 said in Getting error AB1004:

          I just created my account and was testing Smart API and got the following error while running the historical API by Python SDK.

          Request: {'exchange': 'NSE', 'symboltoken': '1594', 'interval': 'ONE_HOUR', 'fromdate': '2024-08-11 08:16', 'todate': '2024-08-11 07:16'}, 
          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