Are there any restrictions on URL when it comes to Webhooks?

Hi all,

I am trying to set up a webhook in Trados Cloud. When I enter the URL, I get a validation error that it is incorrect, despite the fact that it is accessible from the web.

Error message
POST /lc-api/webhook-management/v1/webhooks

Validation exception. Please contact support for more details.
Trace ID
20250108105433_dc01d901-f41f-4883-b26b-0d098685ebbf

Parameters
{}
Response
{
  "errorCode": "VALIDATION_EXCEPTION",
  "message": "Input validation errors",
  "details": [
    {
      "name": "url",
      "code": "invalid",
      "value": "https://dev-new.tolingo-nifi.sunzity.de:8903/trados"
    }
  ]
}
Parents
  •  

    Hi Bartosz, we have a guarding implemented for malicious webhook callback URL's, and this is internally enforced via a regex.

    in your specific case from above seems that the regex is not matching the part which contains the port `:8903`

    Is there a possibility for you to adapt the callback URL, or should we log a Change request, to analyze and adapt the validatator to accept ports in the callback URL?

    So anwsering to your question, yes there are some restrictions in place. And currently we do not support port numbers in the URL.

Reply
  •  

    Hi Bartosz, we have a guarding implemented for malicious webhook callback URL's, and this is internally enforced via a regex.

    in your specific case from above seems that the regex is not matching the part which contains the port `:8903`

    Is there a possibility for you to adapt the callback URL, or should we log a Change request, to analyze and adapt the validatator to accept ports in the callback URL?

    So anwsering to your question, yes there are some restrictions in place. And currently we do not support port numbers in the URL.

Children
No Data