"Variable value doesn't map to variant"

I have been playing around with variable prototyping, but sometimes when I assign a variable to a variant, I get this popup. Does anybody know what this means and how I can fix it?

@Leander_Nelissen hmm – are you able to share a copy of this particular file your screenshot is from? I think support would be best to answer this after looking. I’m not sure what’s triggering that message directly on my end.

You can create a ticket here, and someone will review + let you know what’s going on: https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374

I found this same issue.
It was caused by the boolean property in the variant (“Show” in your case) being set to “Yes”/“No”, but the boolean variable is usually “True”/“False” - so go ahead into the Keyboard and make sure you use True / False

4 Likes

Was this issue resolved having the same issue.

Yes, just use True/false instead of yes/no

Lifesaver!!!