Giter VIP home page Giter VIP logo

Comments (5)

somaraj avatar somaraj commented on July 19, 2024

do you have a valid SSL ?

from facebook-asp.net-webhook.

ashwinijul13 avatar ashwinijul13 commented on July 19, 2024

Thank you for your reply
Yes SSL is there

That issue was resolved by changing framework from .net core to .net 4.5

But when i am testing application in facebook giving below error:

Can you please suggest

|Post Method called Response status code does not indicate success: 400 (Bad Request).
2021-09-15 15:35:39.4052|INFO|WebApplication1.Controllers.FBWebhooksController|Post Method called at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebApplication1.Controllers.FBWebhooksController.d__2.MoveNext()

from facebook-asp.net-webhook.

ebrahim3108 avatar ebrahim3108 commented on July 19, 2024

Hi Somaraj,

Thank you for sharing your code. It really helped. Unfortunately I am facing the same problem as Ashwin.
Getting the below error

System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at I.Controllers.WebhooksController.d__2.MoveNext()

can you please help us resolve this.
thank you

from facebook-asp.net-webhook.

ashwinijul13 avatar ashwinijul13 commented on July 19, 2024

Hi Ebrahim,

Have you got the solution?

from facebook-asp.net-webhook.

MohammedMubeen avatar MohammedMubeen commented on July 19, 2024

Hi @ebrahim3108 , @ashwinijul13 , How you got the solution? 400 bad request.

var response = await httpClientLead.GetStringAsync(formUrl);

from facebook-asp.net-webhook.

Related Issues (12)

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.