i am trying to create firebase dynamic link using curl:
curl -d '{
"dynamicLinkInfo": {
"domainUriPrefix": "https://someweb.page.link",
"link": "https://www.someWeb.net/shops?referral_id=someReferralId",
"androidInfo": {
"androidPackageName": "some package name"
},
"iosInfo": {
"iosBundleId": "some bundle",
"iosAppStoreId": "11111111"
},
"navigationInfo": {
"enableForcedRedirect": true
}
}
}' -H "Content-Type: application/json" -X POST "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=MyFBWebKey"
and for some reason, I'm getting the following response with isn't very explanatory...
{ "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" } }
I've tried to delete all the iosInfo, navigationInfo, androidInfo... and the problem persists. any help would be appreciated.
Thanks, Bob, I used dynamicLinkDomain instead of domainUriPrefix as mentioned in the documentation and it solved the issue