Navigation

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

    Error while getting lttp response in golang

    Go SDK
    0
    2
    13
    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.
    • ?
      A Former User last edited by A Former User

      @admin

      err -- json: cannot unmarshal string into Go struct field envelope.data of type smartapigo.LTPResponse

      while fetching ltp data..

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

        @patisupa
        base.HTTP: 2022/10/04 13:31:17 http.go:154: Error parsing JSON response: json: cannot unmarshal string into Go struct field envelope.data of type smartapigo.LTPResponse | {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}

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