Safari error: "Safari cannot open this page because address is invalid"

The error "Safari cannot open this page because address is invalid" usually occurs due to multiple rounds of continuous installing and uninstalling the app for testing purposes. Branch needs to correctly identify if the user has the app or not and due to continuous installing and uninstalling, it might take time for that information to propagate. Here are a few troubleshooting steps you can follow:

  • This error is only seen when the user tries to install and uninstall the app back to back multiple times. If you never want to see this error, you can set the URI Scheme Deep Link Mode to “Conservative Mode” This setting will only apply to the app level. If you want this setting to be applied just on a link-level add $uri_redirect_mode : 0 as the link data.
  • Invalid URI schemes: If the link doesn’t have a valid URI scheme that you’re using to redirect you will get this error message.

  • You can clear your Safari cache (Settings > Safari > Clear History and Website Data) to remove the error. Alternatively, you can try again on a fresh device.