Is there a reason you're not just using the hosted_link_url
property provided by Plaid, rather than constructing the URL yourself? See https://plaid.com/docs/link/hosted-link/#integration-process for instructions on getting the URL. Using the Plaid Hosted Link URL should fix the issues you're seeing.