The availability of the AccountId field is dependent on account system specifics and may be set to an empty string if the AccountIdType of another user belongs to a different account system than the local user’s authenticated account. If you are logging using Epic Account Services…
https://dev.epicgames.com/community/learning/knowledge-base/Jdv8J/epic-online-services-why-is-the-accountid-value-empty-when-querying-external-account-info