HTTP Request Tool error using Oauth 2 API generic credential type

Hi,
Since, I’m not able to use the Predefined Salesforce Oauth 2 credential type because of a missing custom scope for the Pardot API (now Salesforce Account Engagement), I switched to the Oauth 2 API generic credential type.

It works fine with the required custom scope but only when using the classic HTTP Request node, not with the HTTP Request Tool of AI agents. I got an AI Tool error message saying “Credentials not found”.

Any idea ?

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:

Hi @Anthony_Brebion

It could be that the workflow running the AI Agent with the HTTP request tool does not have access to the actual credentials. Have you checked that the credentials are shared with that project/workflow?

Humm… I defined the credentials in the http request tool directly, as I did when using the standard http request node. It works in the second use case, not in the first one.
Same credentials setup for both as described here:
image

You can check the Sharing tab of the credential itself if it has been shared with the project / person that runs the workflow.

I’m on self hosted n8n.
The http request tool and the standard http request node that I am using for testing purposes are in the same workflow.

Hi,
No updates in this?
Thank you

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