nixtla icon indicating copy to clipboard operation
nixtla copied to clipboard

nixtlats.core.api_error.ApiError: status_code: 429

Open luoolu opened this issue 1 year ago • 5 comments

nixtlats.core.api_error.ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You have reached your request limit, email [email protected] to continue using the API', 'code': 'A20', 'requestID': 'HCJZ2U3PBY', 'support': 'If you have questions or need support, please email [email protected]'}

how to fix?

luoolu avatar Nov 11 '23 06:11 luoolu

Hi, got the same message here too. _ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You have reached your request limit, email [email protected] to continue using the API', 'code': 'A20', 'requestID': 'PTZRRRWWL8', 'support': 'If you have questions or need support, please email [email protected]'}

Nicky9529 avatar Nov 13 '23 09:11 Nicky9529

that's cause we have only number of 1 requests..... but to finish a forecast, the sdk seems using multi requests....

wentixiaogege avatar Nov 16 '23 07:11 wentixiaogege

I'm having the same problem. I can't even get it to run with their canned example.

Exception has occurred: ApiError
status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You have reached your request limit, email [email protected] to continue using the API', 'code': 'A20', 'requestID': 'DL4KET8WPK', 'support': 'If you have questions or need support, please email [email protected]'}
  File "C:\Users\David\ShearFrac\timegpt\gpt.py", line 12, in <module>
    fcst_df = timegpt.forecast(df, h=24, level=[80, 90])
nixtlats.core.api_error.ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You have reached your request limit, email [email protected] to continue using the API', 'code': 'A20', 'requestID': 'DL4KET8WPK', 'support': 'If you have questions or need support, please email [email protected]'}

BasilaryGroup avatar Nov 16 '23 15:11 BasilaryGroup

hey @luoolu, @Nicky9529, @wentixiaogege, @BasilaryGroup! Currently, the default number of tokens per user is restricted. We are trying to onboard as many users as possible. Please sign up here. :)

AzulGarza avatar Nov 26 '23 15:11 AzulGarza

@AzulGarza how to fix it?

xxm1668 avatar Dec 05 '23 08:12 xxm1668

We released some new improvements and increased the number of allowed requests. Please install the latest version of the SDK and try again. I am happy to help if that does not work. Please re-open if necessary.

mergenthaler avatar Aug 06 '24 18:08 mergenthaler