I experience this a couple times a week. This bug has been around for what feels like forever. It almost always occurs at the most annoying time when I quickly need to share a design as part of a Slack discussion. The only way to fix this is to close and reopen Figma.
Please make sure you use the email associated with your Figma account, include links to the file in question, and share access with support-share@figma.com. Don’t worry, inviting us to view your file won’t impact your billing.