I cant get facebook to verify my url to connect to messenger!

I am really struggling to get Facebook to verify with my n8n workflow. I have done everything I am suppose to do but it still will not connect.

I copied the URL and put it into Facebook API settings

I then made sure the hub mode and token was the same

I then made sure the hub challenge was good and matched

I then clicked execute workflow and then went to Facebook and clicked save and verify and it is STILL wont let me verify. Help please

Hey Roxy,

Are you running n8n locally?
Facebook must access a public HTTPS URL. If your workflow is running on localhost, or the URL isn’t public or secure, Facebook won’t be able to verify.

Fix:
Use a tool like ngrok to expose your local server:
ngrok http 5678

Then copy the https:// URL from ngrok and paste it into Facebook.

or,
It could also be that webhook node was not ready before Facebook sends a verification

If you click “Execute Workflow” after hitting verify on Facebook, it’s already too late.

Fix:

  • Click “Execute Workflow” first in n8n
  • Then immediately go to Facebook and hit “Verify”

Hope this helps

Hello!

I am currently just using the free trial as I am learning how to use n8n, so i am just using cloud? I have done it before where it worked but for some reason it does not want to now? I have also made sure that i hit execute flow first before verify. So i am very lost as to what I am doing wrong?

Hey Roxy, You’re not alone, I’m facing the exact same issue. We recently upgraded to the Pro Plan and moved to version 1.103.2, and now the webhook callback URL fails verification with the same error:

“The callback URL or verify token couldn’t be validated.”

It was working perfectly before, and just like you, we also ensured the workflow is executing before verifying. We tested with both test and production URLs—still no success.

Interestingly, another instance we have on v1.102.3 is working just fine, so this might be related to the recent update.

Just curious, has anyone found a resolution or workaround for this yet? Would really appreciate any insights. I’ve also reached out to n8n support and will share any updates here.

Thanks Paul! it is super frustrating because I was just getting it right with a bit of a complecated workflow I was doing! lol Please let me know if you figure anything else out :slight_smile:

Hey Roxy,

I was also facing the exact same issue. Here are a few things to check that helped me fix it:

  1. Your Facebook app should be set to live—make sure to switch it on at the top of the Facebook Developer page.
  2. Activate your n8n workflow and ensure that you respond to the webhook using 'hub.challenge' so Facebook can verify your workflow.
  3. Then, try the verification process again.

You can also try using this sample workflow, which works for me:

Just try it using this workflow and let me know how it goes!

Thank you so much! I tried activating the app and making my workflow live, When I went to use the production url, it would not even pick up the production link when I activate the flow and then click verify and save. However it picks up the test url and the flow is successful but it wont verify! I am so lost lol.

with new version n8n, you much set content-type response

2 Likes

Awesome, Kevin. Thanks for jumping in. That solved the issue. You just saved me hours of troubleshooting. Beautiful!

1 Like

OMgooosh! It worked! thank you soooo much!!

2 Likes

Hi @KevinNguyen, Amazing, Thank you, I connect the Webhook with Messenger, however when I run the workflow and send a message in messenger the the trigger don’t get activate. Do you know what can be the problem? Thank you in advance.

You maybe recheck webhook api, because when you config n8n test path api webhook n8n is /webhook-test/ but when you active wf it is /webhook/ you should change it in facebook config

Hi @KevinNguyen, I tried and nothing, it’s look like is not receiving the signal, however it looks like connected, I did the change, click listen for test event and nothing happened after that I clicked execute workflow and nothing. Any suggestion?

if you can install node module, you can try install https://www.npmjs.com/package/n8n-nodes-phoai-ultimate-tools use function phoai facebook

I can’t or I don’t know how to install it. Everything is in a different language.

Thank you so much man i signed up rn specially to say thank you you saved me from abandoning the project and the whole plan just because i wasted hours trying to solve this. god bless you

1 Like

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