Hi Team, I was batch running timegpt forecast usi...
# timegpt
a
Hi Team, I was batch running timegpt forecast using 6 months of hourly data for training and 1 week of hourly data for testing for the last 2 years of data using sliding windows (2yr x 52weeks/yr = 104 API calls). Somewhere around the 30th API call, the function failed with the following error message:
status_code: 422, body: detail=[ValidationError(loc=['body', 1], msg='JSON decode error', type='json_invalid', ctx={'error': 'unexpected content after document'})]
. Could someone please shed some light on why I might be getting this error? Thanks for the help!
j
Hey. Can you please update the nixtla library? You're most likely getting an error about the series being too short but the previous client can't parse that error
a
Thanks, Jose. I'll try that. But the series shouldn't be too short. I make sure to pass it 6 months of hourly training data for every API call (and it only needs a minimum of 6 weeks of hourly data for training)
j
Can you please upgrade anyway so that you can share the error message (if you get one)?