Giter Club home page Giter Club logo

Comments (31)

lornatumuhairwe avatar lornatumuhairwe commented on August 16, 2024 15

Faced the same issue but I noticed that you should set the VERIFY_TOKEN using heroku config:add VERIFY_TOKEN=your_verification_token_here in your terminal before verifying your webhook on the developer facebook page.

from messenger-bot-tutorial.

 avatar commented on August 16, 2024 6

Had the same problem, even though there was a Procfile it was giving me npm start errors. Adding:

"start": "node index.js"

To the package.json file fixed it for me 😄

from messenger-bot-tutorial.

chipcerio avatar chipcerio commented on August 16, 2024 4

I fixed this by adding the node_modules/ in the .gitignore

from messenger-bot-tutorial.

Chanyadav avatar Chanyadav commented on August 16, 2024 3

I am using ngrok to webhook facebook with other application but i am facing this error when i try adding to the URL " The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway".

Please help me in fixing this.

from messenger-bot-tutorial.

kamesh231 avatar kamesh231 commented on August 16, 2024 1

I was hitting with error 403. The issue was with Config Vars declared in Heroku APP. I had a typo in the name used. The variable name mentioned was 'VERIFICATION_TOKEN' where as in my callback code I was referring it as 'VERIFY_TOKEN'. After fixing this the issue was resolved

from messenger-bot-tutorial.

jellyfang avatar jellyfang commented on August 16, 2024

Is the server available online? Is the callback URL correct?

from messenger-bot-tutorial.

kiranvm avatar kiranvm commented on August 16, 2024

Hi Jerry,
I am facing similar issue, Call back verification failed. but message is bad gateway

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway

The heroku deployment URL is accessible. Please share if you have any suggestions.

Thank you.

from messenger-bot-tutorial.

kiranvm avatar kiranvm commented on August 16, 2024

Please ignore the previous comment. I named Procfile as procfile

from messenger-bot-tutorial.

sarnshreya avatar sarnshreya commented on August 16, 2024

I am facing this issue too.It shows
The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 503; HTTP Message = Service Unavailable
And the heroku link seems to be broken with this message-

An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.

from messenger-bot-tutorial.

sarnshreya avatar sarnshreya commented on August 16, 2024

The heroku log shows-the app crashed

2016-07-28T11:41:39.150069+00:00 app[web.1]: at Function.Module._load (module.js:314:12)

2016-07-28T11:41:39.150070+00:00 app[web.1]: at startup (node.js:148:18)

2016-07-28T11:41:39.225296+00:00 heroku[web.1]: Process exited with status 1

2016-07-28T13:24:05.344533+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/?hub.mode=subscribe&hub.challenge=432092788&hub.verify_token=fb_bot" host=fb-121071064.herokuapp.com request_id=77443caa-168e-4428-9f43-9611d8230b9e fwd="66.220.146.21" dyno= connect= service= status=503 bytes=

2016-07-28T13:36:37.043656+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=fb-121071064.herokuapp.com request_id=03ed313b-0930-4e12-8303-1af63446a429 fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

2016-07-28T13:36:37.942331+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=fb-121071064.herokuapp.com request_id=ca3b7c09-e44c-4fbb-97e1-156393b9d483 fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

2016-07-28T13:40:46.783907+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=fb-121071064.herokuapp.com request_id=928318db-97b2-44c3-ae68-0a5cb20c692f fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

from messenger-bot-tutorial.

 avatar commented on August 16, 2024

Having the same problem.

It won't validate, and the heroku logs show it crashed!

from messenger-bot-tutorial.

 avatar commented on August 16, 2024

I tried "heroku open" in the terminal, and my app could not be opened in the browser - I received an Application Error. I think the problem lies in that the Webhook endpoint isn't working correctly.

from messenger-bot-tutorial.

socioboard avatar socioboard commented on August 16, 2024

getting same error for .net core mvc while adding the cal back url in webhooks
The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 56; curl_error = Received HTTP code 502 from proxy after CONNECT; HTTP Status Code = 502; HTTP Message = Private address

from messenger-bot-tutorial.

Avinash1992 avatar Avinash1992 commented on August 16, 2024

getting same error for .net core mvc while adding the cal back url in webhooks
The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 56; curl_error = Received HTTP code 502 from proxy after CONNECT; HTTP Status Code = 502; HTTP Message = Private address

from messenger-bot-tutorial.

JShilpa avatar JShilpa commented on August 16, 2024

I solved this issue by setting my Wit Token on the command line.
heroku config:set WIT_TOKEN='your_token_here'.
You can find your Wit token at Settings > Server Access Token.
Hope this helps.

from messenger-bot-tutorial.

babutritran avatar babutritran commented on August 16, 2024

My solution is to restart the server or close all wed before paste URL callback

from messenger-bot-tutorial.

19sriram avatar 19sriram commented on August 16, 2024

restarted server but couldn't come up with a solution. Still the app is showing crashed and facebook is showing URL cannot be validated..

from messenger-bot-tutorial.

Chanyadav avatar Chanyadav commented on August 16, 2024

from messenger-bot-tutorial.

SammyMwanyasi avatar SammyMwanyasi commented on August 16, 2024

stll facing the problem? in the VERIFY_TOKEN write a name your choice eg mytoken then on heroku go to settings then select reveal config var add Verify_TOKEN and value mytoken

from messenger-bot-tutorial.

ABinfinity avatar ABinfinity commented on August 16, 2024

i tried heroku open command and my web page opens perfectly, i also add verify_token on heroku but when i setup webhook it shows following error:"The url could not be validated.Callback verification failed with following errors:HTTP status code = 500,HTTP Message= Internal Server error"..please tell me what to do to fix this error.

from messenger-bot-tutorial.

SammyMwanyasi avatar SammyMwanyasi commented on August 16, 2024

Internal Server Error means VERIFY_TOKEN and other User Parameters offered by Facebook are not properly configured

from messenger-bot-tutorial.

manudguru avatar manudguru commented on August 16, 2024

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 500; HTTP Message = Internal Server Error

I m having this issue
i have a wordpress website .

Plz help

from messenger-bot-tutorial.

abhijeetdhawas avatar abhijeetdhawas commented on August 16, 2024

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 402; HTTP Message = Payment Required

i am having this issue

Please help

from messenger-bot-tutorial.

tu20011022 avatar tu20011022 commented on August 16, 2024

Having same issue T T

Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway

I already set the VERIFY_TOKEN, and it still not work.

Please

from messenger-bot-tutorial.

Hateefa avatar Hateefa commented on August 16, 2024

I am having the same issue:

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway

Even tried to add /webhook/ at the end but it doesn't work.

from messenger-bot-tutorial.

buidairadio avatar buidairadio commented on August 16, 2024

I am having the same issue:
The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway
:(

from messenger-bot-tutorial.

Beezai avatar Beezai commented on August 16, 2024

Hi Jerry,
I am facing similar issue, Call back verification failed. but message is bad gateway

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway

The heroku deployment URL is accessible. Please share if you have any suggestions.

I am having this problem, can anyone help me'

from messenger-bot-tutorial.

Israr-Mughal avatar Israr-Mughal commented on August 16, 2024

The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 502; HTTP Message = Bad Gateway

Even tried to add /webhook/ at the end but it doesn't work.

Any suggestion to solve this error.

from messenger-bot-tutorial.

Beezai avatar Beezai commented on August 16, 2024

If you have all token set up in heroku and verify token in fb messanger app and again facing same issue then do this.

From requirement.txt file
Delete the line : setuptool and update the file.
Your problem should be solved.

from messenger-bot-tutorial.

ysernah avatar ysernah commented on August 16, 2024

Tuve el mismo problema era porque no instale las dependecias comando npm i

from messenger-bot-tutorial.

AnjanaDhakal avatar AnjanaDhakal commented on August 16, 2024

The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 28; curl_error = Operation timed out after 6000 milliseconds with 0 bytes received; HTTP Status Code = 200; HTTP Message = Connection established

work fine in glitch
Any suggestion to solve this error.
Thank you in advance

from messenger-bot-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.