Error Cors Grafana

Hello, I am trying to connect in React with my Grafana dashboard through the Grafana API. Everything is correct, but I get this error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3001/api/dashboards/uid/a3e09b7d-87ca-4510-b242-044f3cc52b67 (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404.

Cross-Origin Request Blocked: The same origin policy does not allow reading of remote resources at http://localhost:3001/api/dashboards/uid/a3e09b7d-87ca-4510-b242-044f3cc52b67. (Reason: CORS request failed). Status code: (null).

Could you help me?