To dream that you invite someone, denotes that an unpleasant event will cause you worry.

A dream about getting an invitation, foretells that you will receive sad news. Perhaps you will be invited to some place.

To dream that you weren't invited to something, reflects your anxiety about being rejected in real life.