Notorious B.I.G.
Notorious B.I.G.•2mo ago

Need help with CORS/allowed origins for custom domain

Hi team! I'm experiencing a CORS issue with my production deployment that's blocking my app on my custom domain. Details: - Custom domain: https://blue.braunwell.co.uk - Issue: My app works perfectly on the default Vercel domain but fails with authentication errors on my custom domain Error message:
Uncaught Error: [CONVEX Q(rentals:getRentals)] [Request ID: ...] Server Error
Uncaught Error: [CONVEX Q(rentals:getRentals)] [Request ID: ...] Server Error
What I've tried: - Verified environment variables are correct in Vercel () - Checked the Convex dashboard but can't find the "Allowed Origins" setting - The app works fine on localhost and Vercel's domain, only fails on custom domain Request: Could you please add https://blue.braunwell.co.uk and https://*.braunwell.co.ukto the allowed origins for my deployment? This is blocking our production launch. Thank you! 🙏
2 Replies
Convex Bot
Convex Bot•2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
RJ
RJ•2mo ago
Hey Biggie, if you're a Convex Pro customer, I'd recommend creating a support ticket from within the Convex dashboard—you'll get faster/guaranteed help that way. See https://discord.com/channels/1019350475847499849/1388225745859379411/1388225745859379411

Did you find this page helpful?