diff --git a/plugin/pheby/hermes_bridge.py b/plugin/pheby/hermes_bridge.py index c1918fc..6807b28 100644 --- a/plugin/pheby/hermes_bridge.py +++ b/plugin/pheby/hermes_bridge.py @@ -627,7 +627,10 @@ async def send_chat(server: Any, conversation_id: str, text: str, else MessageType.TEXT)), source=source, message_id=message_id, - metadata={"pheby_run_id": run_id}, + # No metadata: the gateway's native-admission validation only accepts + # empty metadata on the native path (anything non-empty is refused as + # invalid_params unless it is WhatsApp's own native payload), and + # nothing in the plugin reads event metadata back. media_urls=media_urls, media_types=media_types, media_text_inlined=media_text_inlined,