The server returns a response content-type must be text/html when universal links are configured

The server returns a response content-type must be text/html when universal links are configured

application/json can be used?

Thank you for your post. Are you referring to the AASA file? The server will return a JSON format.

Do you have a link to your public AASA file? You can verify the JSON content and download with a simple curl -v … command.

Again, I recommend reading the troubleshooting guide: https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links#Use-universal-links-on-your-site

Please let me know if I can assist you further. You can also post your link to the AASA file here and the “Associated Domains” section in Xcode.

Albert Pascual
  Worldwide Developer Relations.

The server returns a response content-type must be text/html when universal links are configured
 
 
Q