How to use app URL for the Testflight without an error?

I am trying to use the app URL for the Testflight but getting an error.

Hi Tim,

The app URL should be a direct downloadable link. Also, for Testflight you wont be able to use the APP URL as you would need to first sign into your Testflight account and then install the app from there.