How do you tell a user why a guardrail blocked them, without leaking what it saw?
by•
I've been thinking about this tradeoff a lot lately. When an AI guardrail blocks something — PII, injection, a policy hit — the user just sees "blocked."
If you tell them why, you might leak what the guardrail detected. If you tell them nothing, they think the product is broken and try again, or work around it.
For makers who've shipped AI tools — how do you handle this? A generic reason, a category, or nothing at all?
11 views
p/sponkly
p/runevr
p/google-cloud-platform
p/producthunt
p/teaserkit
p/beamfy
p/hirecarta
p/gatrends
p/hamdori
p/introwise
p/findergit
p/contral
p/kodlo
p/heynews
p/murror
p/meridian-16
p/statefold-2
p/inquir
p/chickytutor
p/expert-chase-deleted-1107920
Replies
In our case the guardrail isn't even ours: the music model's provider filters prompts and only says the request was blocked, sometimes for perfectly harmless songs. So the category is all we could give anyway, and I think it's enough if it comes with something to do next. Our screen says the model declined the request, that some topics and every real artist's name are off limits, to change a few words and try again, and that the credits are back. My guess is that naming the likely causes helps more than a code, and the refund line tells people the product didn't keep their money. Before the user sees any of that, we try again ourselves: a small model judges the refused prompt, anything genuinely prohibited stops there, and the rest gets another try, on a second music engine or rephrased, for example an artist name becomes a description of their sound. If the user's own lyrics had to be changed, the song says so under the lyrics. Every refusal is logged with the inputs, so we can see what actually gets blocked.