I Can't figure out why my http request node won't work

Describe the problem/error/question: I am trying to create an automation to make youtube shorts and part of the flow is using eleven labs for the voice over. Whenever the automation gets to the get request node it keeps failing. I already have a wait node to give it time to finish processing but the issue is the node itself is failing. The error message it gives me is, “Error 405: Method Not Allowed.” If anyone could help me figure out whats wrong it would be much appreciated. I am pasting the faulty node below. If including the whole workflow would be helpful just let me know.

What is the error message (if any)?

Please share your workflow {

“nodes”: [
{
“parameters”: {
“url”: “=https://queue.fal.run/fal-ai/elevenlabs/requests/{{ $json.request_id }}”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
1720,
660
],
“id”: “de106365-64af-4cf5-ab86-bb9fa5b03bbc”,
“name”: “Get Sounds”,
“credentials”: {
“httpHeaderAuth”: {
“id”: “G1dwwifl1k6WzkH3”,
“name”: “Fal AI Credentials”
}
}
}
],
“connections”: {
“Get Sounds”: {
“main”: [

]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “20535e843809742b90bf8ed6f99e08008d40709305f2d80eeb7d785aac3989c5”
}
}

(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:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @aymab, welcome to community!
According to your HTTP Request node, instead of using GET method, you need to use POST method.

Here is your fixed node.

Hope it helps, and kindly mark my message as solution if it helps!:slight_smile:

@cutecatcode Thank you for your response! Just curious, should the node still be a post request even though I am trying to get a url through this request? I already have a post request earlier in the flow, followed by a wait node, and then this get request node that is giving me errors. It is supposed to retrieve a url

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