Error Message - The service is receiving too many requests from you

Describe the problem/error/question

What is the error message (if any)? The service is receiving too many requests from you

You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
{
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.3,
      "position": [
        -352,
        -112
      ],
      "id": "6f4504b7-91c3-4eb4-ac65-fbd1803d8a10",
      "name": "When chat message received",
      "webhookId": "280c5c85-6631-4dd7-b8fb-19545610222b"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        -144,
        -112
      ],
      "id": "66b3b0cf-a5d3-437c-b092-b3f66eaa0b2f",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-4o",
          "mode": "list",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        -288,
        96
      ],
      "id": "7bebe59d-eba9-40dc-945a-4fbc62a1f72f",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "VIGpz7q6fsOpsDXR",
          "name": "OpenAi account 2"
        }
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "2c6af0e11d625457ddbd67a1e77572d9c0ac39871552a130994fa968d1583f03"
  }
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: windows

Hi there, you might hit the rate limit, you can either wait for a second and try again

or check your billing if your credit is finished

Thanks for your prompt response. My August quota usage is $0 out of $5. I tried running this workflow after some time but same error.
August budget

**$0.00 / $5
**

according to the openai documentation, the error that you are getting is definitely because of something with your billing or quota

you can read it more here

https://platform.openai.com/docs/guides/error-codes/api-errors

2 Likes

Seems budget information on openai page

$0/$5 is misleading.

I was actually out of credits. I recharged my openai account and it worked.

Thanks @fahmiiireza for the help.

1 Like

definitely men, glad to help, if you can please mark my answer as the solution