What happens when you send a JSON array?
If you send a JSON array as the root payload to an HTTP alert source, you may experience the following behavior:- Your transform function will have no effect
- An empty alert will be created with no data
Supported JSON structure
HTTP alert sources expect a single JSON object at the root level, like this:Workarounds
If your monitoring service sends JSON arrays (like updown.io), you’ll need to:- Check if your monitoring service offers an alternative webhook format that sends single objects
- Use a middleware service to transform the array into individual object requests