Getting a builder connect error in preview mode

Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank.

I am trying to view builder pages in preview mode. Getting a connect error in preview mode. Have attached a screenshot below for more info

Code stack you are integrating Builder with
react, Shopify

Getting the below error