Help with "Failed to send webhook" Error

Hi, I am getting a “Failed to send webhook” error that shows on the “Live Data” section of my end node.

This happens after an uplink of a 200 byte payload, I can see the values on the “Live Data” but nothing gets stored on my webhook. For my webhook I am using a custom template, with JSON format and no Downlink API key.

Does anyone know if this error relates to the webhook configuration? I have been able to store smaller payloads on this same webhook.

Here is the error metadata:

{
  "name": "as.webhook.fail",
  "time": "2021-11-10T07:35:16.575491631Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "test-node-v2",
        "application_ids": {
          "application_id": "stm32wl-test-applications"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "test-node-v2",
        "application_ids": {
          "application_id": "stm32wl-test-applications"
        },
        "dev_eui": "8080E1150500B78D",
        "join_eui": "0101010101010101",
        "dev_addr": "260DCAAE"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
    "namespace": "pkg/applicationserver/io/web",
    "name": "request",
    "message_format": "request",
    "correlation_id": "83ba66983a43440e854c38ee4c448f37",
    "code": 14,
    "details": [
      {
        "@type": "type.googleapis.com/google.protobuf.Struct",
        "value": {
          "body": "Failed storing dump\n",
          "status_code": 500,
          "url": "http://ptsv2.com/t/zkudc-1620192826/post",
          "webhook_id": "test-app-webhook"
        }
      }
    ]
  },
  "correlation_ids": [
    "as:up:01FM4CBEJRG7EMRDTJ0C8MK39E",
    "gs:conn:01FM2REF0E24B6JQP555E0EZ5J",
    "gs:up:host:01FM2REF8XEK52VBNSQ5YFF88Y",
    "gs:uplink:01FM4CBEC5DH39H7372NR58VA5",
    "ns:uplink:01FM4CBEC7FTSC8XZDQ65ZKYWG",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FM4CBEC7X8530Z08NY5BFE6W",
    "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01FM4CBEJQN86JR5J7XN2C9CR1"
  ],
  "origin": "ip-10-102-14-148.ap-southeast-2.compute.internal",
  "context": {
    "tenant-id": "CgN0dG4="
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01FM4CBFAZXVT7XAS8H0P54R1S"
}

Cheers,

Yes, I know. It does not relate to the configuration.

This is the third post in a matter of days on this so a forum search will yield more details but it appears the message appears when your end returns an error. You can test it with a range of HTTP clients or look at the server logs.

I ran a couple of tests with different payloads. Payloads up to 135 bytes were stored in the webhook without any problems. Anything above that gave me the same error.

It is YOUR end of the connection that’s the issue here - you need to fix your code - this is not a TTS issue - I can move over 200 bytes via a web hook if I absolutely need to.