Announcement

Collapse
No announcement yet.

Webhook Failed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Webhook Failed

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

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

Name:	image.png
Views:	112
Size:	48.2 KB
ID:	107829

  • #2
    Likely, a request received a response code not in 200 - 399 range. An endpoint responded with an error.

    Comment


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

  • #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.

    Comment


    • #4
      Actually, I see we already have logging there. Try enabling DEBUG mode for the logger.

      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.

    • #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.

      Comment

      Working...
      X