429 error after making 1 request?

Below is the response of a request I’m making to OpenAI via a NodeJS application:

  response: {
    status: 429,
    statusText: 'Too Many Requests',
    headers: {
      date: 'Mon, 29 May 2023 22:33:51 GMT',
      'content-type': 'application/json',
      'content-length': '176',
      connection: 'close',
      'access-control-allow-origin': '*',
      'openai-model': 'text-davinci-003',
      'openai-processing-ms': '43',
      'openai-version': '2020-10-01',
      'strict-transport-security': 'max-age=15724800; includeSubDomains',
      'x-ratelimit-limit-requests': '3000',
      'x-ratelimit-limit-tokens': '250000',
      'x-ratelimit-remaining-requests': '2999',
      'x-ratelimit-remaining-tokens': '249000',
      'x-ratelimit-reset-requests': '20ms',
      'x-ratelimit-reset-tokens': '240ms',
      'x-request-id': '9f34866cd3f6fefe73fc06e2e46386da',
      'cf-cache-status': 'DYNAMIC',
      server: 'cloudflare',
      'cf-ray': '7cf23390ac742370-EWR',
      'alt-svc': 'h3=":443"; ma=86400'
    },

This app was working fine for the last week but today, after every 1-2 requests I make in a minute, I keep getting hit with a 429 error. I tried making another account and using the same phone number to verify, but that didn’t do anything so I reverted back to the original OpenAI key, same error. Any advice?

1 Like