Product QAsWebhooks

Webhooks

What causes the CannotUseSynchronousWebhookOutputFromOptionalWebhook error, and how can it be resolved?

The error is caused by the function that generates input for the webhook having an optional return type, which means it could return undefined. If the function returns undefined, the webhook will not run. The resolution is to ensure that the function does not return an undefined value, thus making the webhook non-optional.

Timestamp: April 16, 2024

Is it possible to save a PDF from a webhook call into a dataset or media set?

No, it is not currently possible to save a PDF from a webhook call into a dataset or a media set.

Timestamp: May 19, 2024