Knowledge Base
How do I fix CORS issues?
Information on recommended options to avoid CORS errors when sending emails.
Problem
It’s common for people to hit CORS (Cross-Origin Resource Sharing) issues when using the Resend API. This error typically shows as:
Solution
Usually CORS errors happens when you’re sending emails from the client-side.
We recommend you to send the emails on the server-side to not expose your API keys and avoid CORS issues.
Was this page helpful?