AWS amplify and serverless framework

Hello guys,

I have an api build using serverless framework.
I am trying to access an API gateway endpoint using AWS amplify but I keep getting access denied.

However, I can directly access the api using the api gateway url directly.
Any idea as to what the reason could be?

Here is my setup
CloudFront -> ReactApp -> API Gateway

I have mandatorySignIn: false in Amplify configure. Also for the endpoint I am testing here are the configuration.

Authorization None
API Key Not required

Have you looked at the request in your browsers developer tools? This will tell you exactly what it’s sending and should help you narrow down the problem.