get_timeseries(rics = ricsH, fields = list("TIMESTAMP", "CLOSE"), start_date = paste(SoyaFC$Date[nrow(SoyaFC)] + 1, "T00:00:00", sep = ""), end_date = paste((today() - 1), "T00:00:00", sep = ""), interval = "daily", normalize = TRUE, raw_output = TRUE)
Two weeks back I was able to run this code with no issue. Now it is giving me weird output that I can't make sense of and I can't convert it from JSON to text.
I'm getting the following error:
Error: lexical error: invalid char in json text. <!DOCTYPE HTML PUBLIC "-//W3C// (right here) ------^
What might the issue be?