Describe the problem/error/question: Tryign to setup HTTP request and create new credential fro Charles Schwab developer API but not able to do it.
What is the error message (if any)?
{
“error”: “invalid_client”,
“error_description”: “Unauthorized”
}
Please share your workflow
{
“nodes”: [
{
“parameters”: {
“url”: “https://auth.tdameritrade.com/auth”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “oAuth2Api”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{}
]
},
“sendBody”: true,
“bodyParameters”: {
“parameters”: [
{}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
1280,
240
],
“id”: “51ca2807-7897-4a6a-9cd7-4b418f2e2952”,
“name”: “HTTP Request”,
“credentials”: {
“httpHeaderAuth”: {
“id”: “1TYFgXbkmwcZQ9IH”,
“name”: “Header Auth account”
},
“oAuth2Api”: {
“id”: “iyTFyVKaIj7VwRaN”,
“name”: “CharlesSchwab”
}
}
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “bca21dd0a71d761cceef09c0b02bdff7aa1a5feec76148b3d550b7c230ef2497”
}
}
(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.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:. 1.82.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
- Operating system: Mac