Bad request trying to create a postgres credential via api

Im doing a post to http://localhost:5678/api/v1/credentials with all the necessary headers and this body:
{
“name”: “Juan3”,
“type”: “postgres”,
“data”: {“password”:“root”,“user”:“postgres”,“ssl”:“disable”,“port”:5432,“allowUnauthorizedCerts”:false,“schema”:“public”,“host”:“localhost”,“database”:“Juan3”}}

Im getting a bad request saying i need a lot of ssh data but i wanna disable the ssh.

Im very bocked with that if someone knows something i will be carefull with his help.

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

Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

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