Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Python SDK
    Log in to post

    Python SDK

    • P

      smart api login
      • pradulgupt82  

      2
      0
      Votes
      2
      Posts
      12
      Views

      A

      @pradulgupt82 Sync your system time and try again. Sometime this issue happens, just try again after 1 min, as TOTP is valid for 60 seconds.
    • K

      This topic is deleted!
      • kps7111  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • S

      Technical Issue: SmartAPI Historical Data Error - Code AB1004
      • S237783  

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • S

      "Frequent AB1004 Error and Empty Response (b'') in getCandleData"
      • S237783  

      1
      0
      Votes
      1
      Posts
      6
      Views

      No one has replied

    • R

      Instrument Master API extremely slow/hanging (requests.get blocks while downloading)
      • Rithvik  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • R

      plz tell me what the problem might be
      • rvrao1415  

      4
      0
      Votes
      4
      Posts
      15
      Views

      A

      Hi @rvrao1415 Please share the request json here
    • S

      smartConnect:246
      • S237783  

      2
      0
      Votes
      2
      Posts
      24
      Views

      A

      Hi @s237783 Please do check are you using jwttoken generated via loginbypassword api
    • M

      Errorcode AB1050
      • Mach  

      4
      0
      Votes
      4
      Posts
      20
      Views

      A

      Hi @mach Request seems fine. It was an TOTP issue just got copy 6 digit code from authenticator app and paste it try the request in postman once and update.
    • R

      ERROR CODE AB1004
      • ROIW1083  

      7
      0
      Votes
      7
      Posts
      19
      Views

      D

      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}
    • J

      Video to create a simple webapp or python based script for algo trading
      • jainmb555  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • S

      Error oracle vm - python
      • strvedic  

      2
      0
      Votes
      2
      Posts
      4
      Views

      A

      Hi @strvedic Test the APIs in postman and share error with screenshot
    • R

      Hii
      • rangaswami  

      2
      0
      Votes
      2
      Posts
      8
      Views

      A

      Hi @rangaswami Please describe the issue you are facing.
    • M

      My totp रीसेट करे
      • Manoharsingh  

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      Hi @manoharsingh Error is very much pretty clear. Do check are you passing appropriate 6 digit TOTP in request.
    • P

      Login Issue AB1050 error
      • prasubu8  

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      Hi @prasubu8 Error is very much pretty clear. Do check are you passing appropriate 6 digit TOTP in request.
    • B

      generateSessionByMPIN is NOT available
      • brijeshbriji16  

      2
      0
      Votes
      2
      Posts
      8
      Views

      A

      Hi @brijeshbriji16 Which API are you using to Login ?
    • A

      OptionGreek API stopped returning data after 12 PM — working fine earlie
      • amitsgreat  

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      Hi @amitsgreat What kind of error you are getting. Pls share error screenshot
    • S

      'Access denied: Unregistered IP address. Register your IP before retrying.'
      • sujaybadge  

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      Hi @sujaybadge Create app with unique IP since static IP should be unique across all smart-api users.
    • 8

      NIFTY TICKS RECEIVED BUT OPTION TICKS NOT RECEIVED
      • 8e6  

      3
      0
      Votes
      3
      Posts
      15
      Views

      A

      @admin Hey Admin, NIFTY option Greeks were coming smoothly in the morning, but suddenly after 12 PM they stopped appearing. I also noticed that for stocks, option Greeks are now coming only for a few symbols — out of around 200 stocks, Greeks are available for only 8–10. Everything was working perfectly fine until yesterday, and even today morning it was extracting data properly. Could you please check what has changed or if there’s any backend issue with the OptionGreek API?
    • R

      AB1004 Error
      • rotaharish  

      2
      0
      Votes
      2
      Posts
      5
      Views

      A

      Hi @rotaharish Please let us know from which API you are getting this error also share the cURL of that request to get to know more about the issue.
    • M

      OOrder API returns HTTP 400 empty response (need backend provisioning check)
      • mani1090  

      2
      0
      Votes
      2
      Posts
      7
      Views

      A

      Hi @mani1090 Please test this API in postman still API getting failed means share the cURL here.
    • undefined


      •  


      Votes

      Posts

      Views