localstack-samples/localstack-pro-samples

Appsync example fails, expecting authorization

Closed this issue · 1 comments

barnc commented

I am attempting to run the appsync-graphql-api example, but when the commands in the Makefile are executed post deploy, I get the following error:

{"Type":"User","message":"Authorization error when calling AppSync API 'ca60f33a': Access denied - Auth results (API_KEY/COGNITO_USER_POOLS/AWS_IAM): [False, False, False]"}

The same thing happens in our own app that we are attempting to get running on localstack, so it seems like this may be an issue with localstack's appsync integration. We have tried with and without an api key, supplying x-api-key=xxx in the headers, but still no luck.

Please let me know if you can reproduce, and if possible, an ETA on the issue, as it's a blocker for using localstack pro for us.

Thanks for reporting @barnc - this should (hopefully) be resolved in the meantime. Please let us know if the problem persists after pulling the latest Docker image and the latest master of this repo. Thanks so much for your help!