Policy Api Help

I keep getting warned for including a third party link on my asset (discord server link). The warning message I receive states that it’s allowed as long as i wrap it in the policy api.


if PolicyService:GetPolicyInfoForPlayerAsync(plr).AllowedExternalLinkReferences then
gui.Text = ".gg/example"
end

Anyone have an idea why I automatically receive this warning message whenever I upload the asset? Even though I have it wrapped in the policy api like it states? Am I doing this wrong somehow?