79256570

Date: 2024-12-06 00:24:15
Score: 1
Natty:
Report link

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

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Fedi Bounouh