Hi, a client is running into this error when opening the visual editor:
An unknown error occurred. Please try again or contact support with the error code: 'Unable to verify sender origin
GB Dev Tools doesn't indicate anything. What might be the reason for this. It worked before when I set it up 2 weeks ago.
f
future-teacher-7046
10/05/2024, 1:45 PM
Is there a redirect happening? We verify that the URL they entered in GrowthBook matches the URL they are on when the visual editor loads.
p
prehistoric-beard-84272
10/05/2024, 1:51 PM
Hmm, yes, it seems there is a 301 redirect. They tested the Growthbook URL redirect, but that experiment is off. I'll ask them if they have any other redirects implemented.
f
future-teacher-7046
10/05/2024, 1:57 PM
This check specifically is only looking at the origin. So a redirect from
<http://domain.com/a|domain.com/a>
to
<http://domain.com/b|domain.com/b>
will not trigger this error. But a redirect from
<http://domain.com/a|domain.com/a>
to
<http://otherdomain.com/a|otherdomain.com/a>
will. It could be as simple as the client entered
http://
instead of
https://
, and when the visual editor loaded the
http://
domain, it redirected to the secure version of the site on another origin
p
prehistoric-beard-84272
10/05/2024, 2:40 PM
Yes, there was a redirect. Thank you for the quick support!