I keep running into this error whenever I pass my target origins, whether it’s an Ngrok forwarded port or a DevTunnel port.
I also tried using localhost and a vercel.app origin, but all of them returned the same error.
The only workaround I’ve found is using our production domain (.com). The problem with this approach is that I would have to test directly in production — meaning I’d be writing code, pushing it, and only then testing, which goes against our policy.
The error below occurred when I tried using the capture context generated in localhost as a last resort.
09-11-2025 11:09 AM