Description: The AgentField observability webhook fails to deliver events to Discord because the payload schema sent by the Control Plane is incompatible with Discord’s API requirements. Discord returns an HTTP 400 Bad Request because the expected "content" or "embeds" fields are missing from the AgentField event JSON.
Steps to Reproduce:
Go to Settings > Observability Webhook in the AgentField dashboard.
Enter a valid Discord Webhook URL.
Trigger any event (e.g., start an agent execution).
Observe the Forwarder Status section.
Actual Results:
Last Error: non-2xx response: 400.
Events are dropped and moved to the Dead Letter Queue.
Expected Results: The platform should allow for a custom payload template or provide a "Discord Compatibility Mode" (similar to how some services append /github or /slack to the URL) to ensure the message is delivered.
Environment Info:
Platform: AgentField Cloud / Control Plane.
Target: Discord Webhook API.
Description: The AgentField observability webhook fails to deliver events to Discord because the payload schema sent by the Control Plane is incompatible with Discord’s API requirements. Discord returns an HTTP 400 Bad Request because the expected "content" or "embeds" fields are missing from the AgentField event JSON.
Steps to Reproduce:
Go to Settings > Observability Webhook in the AgentField dashboard.
Enter a valid Discord Webhook URL.
Trigger any event (e.g., start an agent execution).
Observe the Forwarder Status section.
Actual Results:
Last Error: non-2xx response: 400.
Events are dropped and moved to the Dead Letter Queue.
Expected Results: The platform should allow for a custom payload template or provide a "Discord Compatibility Mode" (similar to how some services append /github or /slack to the URL) to ensure the message is delivered.
Environment Info:
Platform: AgentField Cloud / Control Plane.
Target: Discord Webhook API.