That's a common issue with the API gateway, basically you just need to enable CORS. with lambda it works fine but when accessed from a browser-based application like React. The error indicates that the browser is enforcing CORS (Cross-Origin Resource Sharing) policies.
you can find all the steps here: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors-console.html