brian mcgloughlin
11/07/2023, 10:17 PMtimegpt = TimeGPT(token=os.environ['TIMEGPT_TOKEN'])
timegpt.plot(df, time_col='Year', target_col='Price')
Will run as expected with my token.
But then running in the same notebook:
timegpt_fcst_df = timegpt.forecast(df=df, h=12, freq='MS', time_col='Year', target_col='Price')
timegpt_fcst_df.head()
Results in the error:
ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You have reached your request limit, email ops@nixtla.io to continue using the API', 'code': 'A20', 'requestID': 'QCSHFREJTR', 'support': 'If you have questions or need support, please email ops@nixtla.io'}
Does the token expire for each method call or is there something I am not understanding correctly? Help appreciated 🙂Mariana Menchero
11/07/2023, 10:20 PMbrian mcgloughlin
11/07/2023, 10:22 PMMariana Menchero
11/07/2023, 10:22 PMbrian mcgloughlin
11/07/2023, 10:27 PM