Navigation

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

    getCandleData API is returning null value

    Test
    0
    2
    14
    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
      Prasun Pal last edited by

      The getCandleData API call is returning null as 'data' even though the *success* is 'true' and there are no error messages. The API was working fine till yesterday but today it's returning the null value.

      Is there any significant change that took place on the API layer?
      Could you please let me know why it is returning null data?

      BTW, I'm using NodeJS SDK to connect with the SmartAPI server.

      1 Reply Last reply Reply Quote 0
      • R
        rushikesh96 last edited by

        Make sure the payload you are passing is correct. I was facing the same issue after a lot of debugging found that the issue was with the key I passed as parameter, it was symboltoken but I was passing symbolToken due to which API response was returning a success call but data was empty. Also make sure the dates passed are also correct ones.

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