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'}
ripankundu opened this issue · comments
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?
follow below steps
- Go to this page https://dashboard.nixtla.io/
- Sign in or Sign up
- Under API Keys option, create Create New API Key
- set os.environ['TIMEGPT_TOKEN'] as created New API key