Skip to main content

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. Send the emails on the server-side to not expose your API keys and avoid CORS issues.