@faint pagoda
Description:
Models on OpenRouter seem to return the wrong reason in the error messages when a request is unsatisfiable.
For example, when I request a chat completion from google/gemma-3-27b-it with "provider": {"zdr": true} but also provide "tools": [] in the payload, the request should fail because Gemma 3 doesn't support tool calls, but it fails with this message instead:
"message": "No endpoints found matching your data policy (Zero data retention). Configure: https://openrouter.ai/settings/privacy"
What I've Tried:
Many combinations of API payload. For example, even if I don't provide "provider": {"zdr": true}, the error message is still wrong:
"message": "No endpoints found matching your data policy (Paid model training). Configure: https://openrouter.ai/settings/privacy"
Error Messages:
Mentioned above