Webhook Failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lj4353
    Senior Member
    • Nov 2023
    • 114

    Webhook Failed

    Webhook failed but there is no information about the error in the logs
    Click image for larger version

Name:	image.png
Views:	86
Size:	42.1 KB
ID:	107830Click image for larger version

Name:	image.png
Views:	116
Size:	48.2 KB
ID:	107829
  • yuri
    Member
    • Mar 2014
    • 8455

    #2
    Likely, a request received a response code not in 200 - 399 range. An endpoint responded with an error.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • lj4353
      lj4353 commented
      Editing a comment
      @yuri
      How can I expand the range? Has anyone successfully connected to Slack?
  • yuri
    Member
    • Mar 2014
    • 8455

    #3
    If Slack returned that code, it means it's an error. I recommend debugging from here: https://github.com/espocrm/espocrm/b...Queue.php#L273

    You can print info to the log.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8455

      #4
      Actually, I see we already have logging there. Try enabling DEBUG mode for the logger.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment


      • lj4353
        lj4353 commented
        Editing a comment
        yuri
        Thank you for your explanation. I've obtained the log information and encountered a 400 error, which is likely due to an incorrect format. I tried connecting to Slack using your demo, and it also resulted in an error. This appears to be a bug.

        [2024-06-27 14:25:03] DEBUG: Webhook Queue: Webhook '667cf98226349335c' sent, response code: 400.

      • yuri
        yuri commented
        Editing a comment
        Maybe our Webhooks are not compatible with Slack. We don't implement any specification. So saying it's a bug is not correct.
    • yuri
      Member
      • Mar 2014
      • 8455

      #5
      To everyone. I'm hater of "bug" word usage. A "bug" should come with steps to reproduce and detail explanation what does not work and how it should work. Please, no need to use word "bug" everywhere. Thanks for attention.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...