PSA: To fix an issue with Slack wrongly caching the wrong url preview information for space or group invite links, the format of invite links is changing so that the spaceId or groupId is in the path of the url (instead of a query string).
This means that Invite links that were generated previously won't work anymore (they'll 404), so you'll want to update any reference invite links to the new format (via the Share menu).