Navigation

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

    gttRuleList API returns null due to timeout error

    Java SDK
    1
    1
    1
    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.
    • P
      pavanimitnala last edited by

      Observing Timeout for rulelist since couple of days. It was working fine until last week.
      The same rulelist is working of other client IDs that I have, only for a specific client id I am seeing this issue. Can you please help on this ASAP?

      Code Snippet

      public JSONArray ruleList(SmartConnect smartConnect) throws SmartAPIException, IOException {
      		List<String> status = new ArrayList<String>() {
      			{
      				add("FORALL");
      			}
      		};
      		Integer page = 1;
      		Integer count = 1000;
      		JSONArray ruleList = new JSONArray();
      		ruleList = smartConnect.gttRuleList(status, page, count);
      		System.out.println("\nruleList - "+ ruleList);
      
      		return ruleList;
      	}
      

      The print gives null value and below is the error in the logs

      Error in POST request. Request URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/gtt/v1/ruleList, Request Headers: Content-Type: application/json

      , Request Body: {"count":1000,"page":1,"status":["FORALL"]},Response : timeout
      2025-08-28 15:28:55,894 ERROR com.angelbroking.smartapi.SmartConnect [main] timeout
      2025-08-28 15:28:55,901 DEBUG com.smart.util.SheetsQuickstart [main]

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