Error while getting lttp response in golang
-
err -- json: cannot unmarshal string into Go struct field envelope.data of type smartapigo.LTPResponse
while fetching ltp data..
-
@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":""}