Navigation

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

    Unable to parse JSONobject when requesting candleData

    NodeJS SDK
    0
    6
    20
    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.
    • G
      gayatrin last edited by

      response : {"data":[["2021-03-08T09:15:00+05:30",388.45,390.4,387.7,388.4,1119611],["2021-03-08T09:16:00+05:30",388.4,388.4,386.65,388.2,653327],["2021-03-08T09:17:00+05:30",388.3,388.4,387.45,387.75,517923],["2021-03-08T09:18:00+05:30",388,388.85,387.6,388.65,275743]]],"message":"SUCCESS","errorcode":"","status":true}
      10:30:35.474 [nREPL-session] ERROR com.angelbroking.smartapi.SmartConnect - JSONObject["data"] is not a string (class org.json.JSONArray).
      
      ? 3 Replies Last reply Reply Quote 0
      • ?
        A Former User @gayatrin last edited by

        @gayatrin

        Did you get any solution..?

        G 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @gayatrin last edited by

          @gayatrin

          I have solution for this issue...

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @gayatrin last edited by

            @gayatrin

            I have the solution of this issue...

            1 Reply Last reply Reply Quote 0
            • G
              gayatrin @Guest last edited by

              @UmeshG19

              Hey Umesh, Thanks for the response,

              Yes I can parse the JSON

              1 Reply Last reply Reply Quote 0
              • G
                gayatrin last edited by

                Hi @UmeshG19

                Thank you for your response, I am able to parse it now

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