Google Palm API node seems not working and missing docs

Describe the problem/error/question

Google Palm chat API seems missing:

What is the error message (if any)?

Information on your n8n setup

  • n8n version: n8n ai beta latest
  • Database (default: SQLite): sqlite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Ubuntu (self host)


It looks like we need to update the link the correct link should be Google PaLM credentials | n8n Docs

I will get the links updated shortly, When you say the node isn’t working which node are you trying and which bit isn’t working?

It’s when credentials setup via API

As for the error, I suspected Google Palm API is restricting some regions from accessing it: vps - How to Resolve "User Location Not Supported" Error When Connecting to palm2 API from Server in Amsterdam? - Stack Overflow

Hence, I tried to authenticate my Google Palm API via curl, but it also failed:

curl -H 'Content-Type: application/json' -H "x-goog-api-key: AI            zaSyDQElTIH-A_qBZkYp_1FWU8SqMXCdh9BzM" -d '{"prompt": {text: "Give me five subca            tegories of jazz"} }' "            text-bison-001:generateText"

and shows error code below:

  "error": {
    "code": 400,
    "message": "User location is not supported for the API use.",

I think I could close this case if this is the case. Thanks a lot.


  • n8n version: Version 1.17.0
1 Like


You are correct there the Palm API is not available from all locations yet which would explain why it is not working for you. A list of available regions can be found here:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.