figment of one's imagination
Something made up, invented, or fabricated, as in "The long dishevelled hair, the swelled black face, the exaggerated stature were figments of imagination" (Charlotte Brontë, Jane Eyre, 1847). This term is redundant, since figment means "product of the imagination." [Early 1800s]