getCandleData API is returning null value


  • 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.


  • 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.