Navigation

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

    Something Went Wrong, Please Try After Sometime

    Python SDK
    0
    5
    43
    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.
    • S
      sunny123456 last edited by

      getting the error on websocket streaming and totp login
      Something Went Wrong, Please Try After Sometime
      {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

      M 0 2 Replies Last reply Reply Quote 1
      • 0
        0xc0de @sunny123456 last edited by

        @sunny123456 I am getting the same error since 3 days now.

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

          @sunny123456

          Refer https://pypi.org/project/smartapi-python/ for sample working code for websocket streaming.

          Kindly share the request format you are using for totp login to analyze further.

          Regards,
          SmartAPI Team

          S 1 Reply Last reply Reply Quote -1
          • D
            Deeeepak last edited by

            Hi @Moderator_3 ,

            API for gainersLosers was working till 11:20 today and stopped after it.

            [E 240912 11:59:03 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/gainersLosers. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/gainersLosers, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': ' ', 'X-MACAddress': '', 'Accept': 'application/json', 'X-PrivateKey': '', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'datatype': 'PercOIGainers', 'expirytype': 'NEAR'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

            so far i have tried

            1. upgraded to smartapi-python 1.4.9
            2. re-created access token.

            Can you please check and fix.
            My username: D58222660

            1 Reply Last reply Reply Quote 0
            • S
              shahhrushil @Moderator_3 last edited by

              @Moderator_3 the websoket connection is established and ticks are recieved for the subscribed tokens but certain tokens always return 0 as ltp which is not right. What can be the issue? most tokens work correctly and ltp is fetched as usual.Screenshot 2024-09-21 071653.png

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