The function handler needs to return a response object to HTTP requests from Postman or curl.
Why am I getting an error when trying to forward DigitalOcean Functions to Managed OpenSearch?
Validated on 4 Jun 2025 • Last edited on 18 Mar 2026
When attempting to forwarding DigitalOcean Functions logs to Managed OpenSearch, you may receive the error error validating app spec field "functions.log_destinations.open_search.cluster_name": function "webhooks" log destination "digitalocean" trusted sources firewall rules found for cluster opensearch. Please disable Trusted Sources for the cluster and try again.
This is because functions does not support log forwarding to Managed OpenSearch. For alternatives, see How to Manage Functions.
Related Topics
Verify the connection string, ensure correct port usage, and add your local machine to the database cluster’s trusted sources.
Add your machine to the database cluster’s list of trusted sources in the firewall settings.