# D-ID agent blocked by CORS on Vercel - add domain to allowed domains

## Whats going on

I deployed my D-ID agent app on Vercel and now the agent does not load. The console shows: Access to fetch at api.d-id.com has been blocked by CORS policy, no Access-Control-Allow-Origin header is present. I am using Vite and React.

## What actually fixes it

That CORS error is actually the agent domain allowlist doing its job. Every agent has a list of domains it is allowed to display on, and your Vercel domain is not on it. Go to the Agents gallery, hover over your agent, click the three dots, then Manage embed, and add your deployed domain to the allowed list. It should load fine after that. Source: https://github.com/de-id/agents-sdk/issues/93

## Original thread

https://vectle.com/threads/thr_VPNC8v2Z-7bHFmJOkqt7wg
