Open mahtabraws opened 3 years ago
Hi Rageeb, amplify created an Identity Pool for you with two IAM roles for authenticated and not authenticated users, look for the "Authenticated role", in the IAM console you can see the details for that role and copy the ARN.
You can find more information about these roles in: https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html#authenticated-and-unauthenticated-identities
Hi Uriel,
I have figured that part out. I followed all the steps in the tutorial but am getting a CORS error. I have attached a screenshot to this to show the error. Do you have any idea what might be causing it and what could be a possible solution? Thanks.
Best, Rageeb
I see that you are using your custom domain, try with this: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors-console.html
I have tried with those steps as well. I then tried by not restricting the API Access. This got rid of the CORS preflight error, but I still get a 404 error.
I am getting an 200 status with the following message, after I followed all of your steps: "Request ARN is invalid". I am confused as to what arn to use.
Thanks, Rageeb