Error: Cannot parse app site association on apple-app-site-association file

When trying to add password manager and universal link support, we are getting an error on our app-site-association-file when validating at the validation tool, yet from what we can gather it's valid JSON and looks the same as what is in the documentation, so we are unsure as to what the error actually is.


{
"webcredentials": {
"apps": [
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.fordownerapp",
"D95XHVNG2Z.com.ford.torquesa",
"D95XHVNG2Z.com.ford.torqueeu",
"D95XHVNG2Z.com.ford.fordpasspro",
"D95XHVNG2Z.com.ford.fordpasspro.beta",
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.torquebr",
"D95XHVNG2Z.com.ford.torquein",
"D95XHVNG2Z.com.ford.torquemea",
"D95XHVNG2Z.com.ford.fordpassalpha",
"D95XHVNG2Z.com.ford.fordpassbeta",
"D95XHVNG2Z.com.ford.lwalpha",
"D95XHVNG2Z.com.ford.lwbeta",
"VY3KWJ9DST.com.ford.fordpasscn",
"VY3KWJ9DST.com.ford.fordpass",
"VY3KWJ9DST.com.ford.fordpasssa",
"VY3KWJ9DST.com.ford.fordpasseu",
"VY3KWJ9DST.com.ford.fordpasspro.eu",
"VY3KWJ9DST.com.ford.fordpassap",
"VY3KWJ9DST.com.ford.fordpassin",
"VY3KWJ9DST.com.ford.fordpassmea"
]
},
"applinks": {
"details": [
{
"appIDs": [
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.fordownerapp",
"D95XHVNG2Z.com.ford.torquesa",
"D95XHVNG2Z.com.ford.torqueeu",
"D95XHVNG2Z.com.ford.fordpasspro",
"D95XHVNG2Z.com.ford.fordpasspro.beta",
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.torquebr",
"D95XHVNG2Z.com.ford.torquein",
"D95XHVNG2Z.com.ford.torquemea",
"D95XHVNG2Z.com.ford.fordpassalpha",
"D95XHVNG2Z.com.ford.fordpassbeta",
"D95XHVNG2Z.com.ford.lwalpha",
"D95XHVNG2Z.com.ford.lwbeta",
"VY3KWJ9DST.com.ford.fordpasscn",
"VY3KWJ9DST.com.ford.fordpass",
"VY3KWJ9DST.com.ford.fordpasssa",
"VY3KWJ9DST.com.ford.fordpasseu",
"VY3KWJ9DST.com.ford.fordpasspro.eu",
"VY3KWJ9DST.com.ford.fordpassap",
"VY3KWJ9DST.com.ford.fordpassin",
"VY3KWJ9DST.com.ford.fordpassmea"
],
"components": [
{
"#": "nouniversallinks",
"exclude": true,
"comment": "Matches any URL whose fragment equals nouniversallinks and instructs the system not to open it as a universal link"
},
{
"/": "/fordpass/app/*",
"comment": "Matches any URL whose path starts with /fordpass/app"
}
]
},
{
"appIDs": ["D95XHVNG2Z.com.ford.fordownerapp.torqueap", "VY3KWJ9DST.com.ford.fordpasscn"],
"components": [
{
"#": "nouniversallinks",
"exclude": true,
"comment": "Matches any URL whose fragment equals nouniversallinks and instructs the system not to open it as a universal link"
},
{
"/": "*",
"comment": "Matches all URL paths"
}
]
}
]
}
}

Unfortunately it seems like there's a bug in the forums where I can't submit that JSON as a codeblock, apologies for the formatting

Unfortunately it seems like there's a bug in the forums where I can't
submit that JSON as a codeblock

It works for me…

Code Block
{
"webcredentials": {
"apps": [
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.fordownerapp",
"D95XHVNG2Z.com.ford.torquesa",
"D95XHVNG2Z.com.ford.torqueeu",
"D95XHVNG2Z.com.ford.fordpasspro",
"D95XHVNG2Z.com.ford.fordpasspro.beta",
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.torquebr",
"D95XHVNG2Z.com.ford.torquein",
"D95XHVNG2Z.com.ford.torquemea",
"D95XHVNG2Z.com.ford.fordpassalpha",
"D95XHVNG2Z.com.ford.fordpassbeta",
"D95XHVNG2Z.com.ford.lwalpha",
"D95XHVNG2Z.com.ford.lwbeta",
"VY3KWJ9DST.com.ford.fordpasscn",
"VY3KWJ9DST.com.ford.fordpass",
"VY3KWJ9DST.com.ford.fordpasssa",
"VY3KWJ9DST.com.ford.fordpasseu",
"VY3KWJ9DST.com.ford.fordpasspro.eu",
"VY3KWJ9DST.com.ford.fordpassap",
"VY3KWJ9DST.com.ford.fordpassin",
"VY3KWJ9DST.com.ford.fordpassmea"
]
},
"applinks": {
"details": [{
"appIDs": [
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.fordownerapp",
"D95XHVNG2Z.com.ford.torquesa",
"D95XHVNG2Z.com.ford.torqueeu",
"D95XHVNG2Z.com.ford.fordpasspro",
"D95XHVNG2Z.com.ford.fordpasspro.beta",
"D95XHVNG2Z.com.ford.fordownerapp.torqueap",
"D95XHVNG2Z.com.ford.torquebr",
"D95XHVNG2Z.com.ford.torquein",
"D95XHVNG2Z.com.ford.torquemea",
"D95XHVNG2Z.com.ford.fordpassalpha",
"D95XHVNG2Z.com.ford.fordpassbeta",
"D95XHVNG2Z.com.ford.lwalpha",
"D95XHVNG2Z.com.ford.lwbeta",
"VY3KWJ9DST.com.ford.fordpasscn",
"VY3KWJ9DST.com.ford.fordpass",
"VY3KWJ9DST.com.ford.fordpasssa",
"VY3KWJ9DST.com.ford.fordpasseu",
"VY3KWJ9DST.com.ford.fordpasspro.eu",
"VY3KWJ9DST.com.ford.fordpassap",
"VY3KWJ9DST.com.ford.fordpassin",
"VY3KWJ9DST.com.ford.fordpassmea"
],
"components": [{
"#": "nouniversallinks",
"exclude": true,
"comment": "Matches any URL whose fragment equals nouniversallinks and instructs the system not to open it as a universal link"
},
{
"/": "/fordpass/app/*",
"comment": "Matches any URL whose path starts with /fordpass/app"
}
]
},
{
"appIDs": ["D95XHVNG2Z.com.ford.fordownerapp.torqueap", "VY3KWJ9DST.com.ford.fordpasscn"],
"components": [{
"#": "nouniversallinks",
"exclude": true,
"comment": "Matches any URL whose fragment equals nouniversallinks and instructs the system not to open it as a universal link"
},
{
"/": "*",
"comment": "Matches all URL paths"
}
]
}
]
}
}


Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I'm also getting Error cannot parse app site association when using the "App Search API Validation Tool" against my site, flicktype.com. Although the links are working properly (opening in the app) on a device.

Any ideas?

Thanks!
I recommend that you start a new thread for this. Whatever’s going on is unlikely to be related to the problem seen by dharr. Make sure to tag it with Universal Links.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Error: Cannot parse app site association on apple-app-site-association file
 
 
Q