Nixtla / nixtla

TimeGPT-1: production ready pre-trained Time Series Foundation Model for forecasting and anomaly detection. Generative pretrained transformer for time series trained on over 100B data points. It's capable of accurately predicting various domains such as retail, electricity, finance, and IoT with just a few lines of code 🚀.
https://docs.nixtla.io
Other
1.91k stars 151 forks source link

ApiError: status_code: 401, body: {'data': None, 'message': 'Invalid API key', 'details': 'Key not found', 'code': 'A12', 'requestID': 'D5Z4QG33EB', 'support': 'If you have questions or need support, please email ops@nixtla.io'} #219

Closed ripankundu closed 1 week ago

ripankundu commented 5 months ago

Hi ,

I am trying to use the TimeGPT. However, when I use it, I get the following error:

"ApiError: status_code: 401, body: {'data': None, 'message': 'Invalid API key', 'details': 'Key not found', 'code': 'A12', 'requestID': 'D5Z4QG33EB', 'support': 'If you have questions or need support, please email ops@nixtla.io'}"

I use the same example as you provided in the read.me file. Could you please tell me if I am doing anything wrong?

sasi2109 commented 5 months ago

follow below steps

  1. Go to this page https://dashboard.nixtla.io/
  2. Sign in or Sign up
  3. Under API Keys option, create Create New API Key
  4. set os.environ['TIMEGPT_TOKEN'] as created New API key
elephaint commented 1 month ago

@ripankundu It's been a while from our side, but is this issue still occuring? If so, please follow our Quickstart guide and report back the issue you still encounter.

github-actions[bot] commented 1 week ago

This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.