The service was not able to process your request An internal error has occurred

Saw a lot of similar posts, but did not see any answer yet…

Stack trace

NodeApiError: The service was not able to process your request at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1316:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1666:20)

It’s an authentication/authorization failure at the API call in the n8n workflow,
so we may:

  1. Verify API credentials and token expiry.
  2. Check OAuth and try reauthentication.

If both these are fine, then the other possibility would be API rate/quota limits from Gemini API.