"Authorization Failed with HTTP Request to Fal.ai (veo3) – API Key Not Working

Hi everyone ,I’m trying to build a workflow in n8n that sends a POST request to Fal.ai’s veo3 endpoint (https://queue.fal.run/fal-ai/veo3) using the HTTP Request node to generate AI videos. I’ve manually added the correct headers including `Authorization: Bearer

andContent-Type: application/json, and I'm sending a valid JSON body with a prompt and style. Despite this, I keep getting the error: “Authorization failed – please check your credentials. Cannot access application 'fal-ai/veo3'. Authentication is required to access this application.” I’ve verified that the Bearer token is correct, enabled “Send Headers,” set the method to POST, and even tried switching between predefined credentials and manual headers. I'm not sure if the issue is with how n8n sends the request, or if Fal.ai’s veo3` endpoint requires special access. Has anyone successfully connected to this endpoint through n8n, or know what might be causing this authentication failure?

  • **Running cloud Free version

The key should be

Key abc-abc-abc-abc

Notice there is a space between key and abc-abc...

Hello @Adebisi_Oluwaseyi, welcome to community!
So, instead of using Bearer, you need to use Key, also you need to revoke your key right now, because your key exposed here:)

Also, instead of passing it through header, you can create a Header Authorization for making requests to fal.
See image below.


1 Like

tanks so much i appreciate , i ave tried it out seems i need to fund vo3 before it can work

tanks so much i appreciate , i ave tried it out seems i need to fund vo3 before it can work , is there any material to recomend for a beginer like me to study , most of the materials i seen is for professional and i seems lost , thanks

You’re welcome!
If it helps you, kindly mark my message as solution, in case someone has a same problem with yours.
Thanks!

i did already thanks so much

and is there any material you could recomend for a beginer like me

If you want to learn more about fal.ai and n8n, I suggest to learn-by-doing with copy-ing and understanding public workflow about fal.
You can look more about n8n workflow that related with fal here

Hello cutecatcode i still run into some issue , i just added credit to my runway dev account , as i tried to use it instead of vo3 , but i still run into same issue , i used the body jason from runway

but this is what i kept getting

and this is my workflow

I think you miss-configured the json, can you show us your json here?

yes
{
“promptImage”: “https://encrypted-tbn3.gstatic.com”,
“seed”: 4294967295,
“model”: “gen3a_turbo”,
“promptText”: “string”,
“duration”: 10,
“ratio”: “1280:720”,
“contentModeration”: {
“publicFigureThreshold”: “auto”
}
}

It’s weird since the JSON is correct.
What about fal.ai documentation?

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