0

We have a web app built with next.js and hosted using Firebase App Hosting.

When the web app is shared on an Instagram story and a user clicks the link he the in app browser is opened and this is the error the user sees.

Important details:

  1. This only happens on Android devices (iOS devices open the link without issue).
  2. We are using a custom domain, not the default domain provided by Firebase.
  3. When sharing the default Firebase domain on Instagram it works properly.
  4. When we get the error we don't even get any logs, so we don't believe this issue is related to next.js

Our app relies on being shared on Instagram, I would appreciate any help or suggestions you guys can provide :)

enter image description here

asked May 18, 2025 at 18:07

1 Answer 1

0

Some mobile browsers don't correctly handle underscores in DNS records. This issue seems to related.

Try setting your domain up again using advanced setup (choose "Migrate a domain" in the custom domain setup flow). The setup process will have two steps instead of just one, but it should help you avoid this bug.

answered May 20, 2025 at 18:55
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.