Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple's App Search API Validation Tool - "Error cannot fetch app site association"

Im trying to get this Apple's API validator to validate my apple-app-site-association file on https://signin.methodwarehouse.com. The validator is saying "Error cannot fetch app site association". However, this file is clearly available at https://signin.methodwarehouse.com/apple-app-site-association. The content of this JSON file is copied directly from Apple's documentation so it should validate just fine. What am I doing wrong? Why is this file not passing validationg?

Screenshot of Apple's API Validator

like image 394
burnt1ce Avatar asked Jul 14 '16 15:07

burnt1ce


People also ask

How do I get the apple App association file?

To add the associated domain file to your website, create a file named apple-app-site-association (without an extension). Update the JSON code in the file for the services you support on the domain. For universal links, be sure to list the app identifiers for your domain in the applinks service.

Where is apple-App-site-Association file?

After you create the apple-app-site-association file, upload it to the root of your HTTPS web server or to the . well-known subdirectory. The file needs to be accessible via HTTPS—without any redirects—at https://<domain>/apple-app-site-association or https://<domain>/.well-known/apple-app-site-association .

Is apple-App-site-Association cached?

The apple-app-site-association file is cached once when the app is first installed. If this initial scrape fails, in almost all situations it will not be reattempted. The only exception to this is if the initial return is a 5xx error, in which case a limited number of retries may occur.

What is well known apple-App-site-Association for?

well-known/apple-app-site-association for the apple-app-site-association file that is required to implement Universal Links and Shared Web Credentials. If the file is not found in this location, then the device will request the file in the root of the web server, as with prior releases of iOS 9.


1 Answers

This issue resolved by itself in a matter of a few hours. I think what happened was Apple's API validator was using a cached version of my apple-appsite-association file that was invalid.

like image 128
burnt1ce Avatar answered Sep 21 '22 05:09

burnt1ce