Closed DevTGhosh closed 10 months ago
This seems to be related to https://github.com/aws-amplify/amplify-category-api/issues/2060. This regression is fixed in https://github.com/aws-amplify/amplify-category-api/pull/2062 and pending release.
The fix is available in v12.10.0 of the CLI.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.20.1
Amplify CLI Version
12.8.2
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
I have a lambda (emailScrapper) that access's another grapqhl lambda resolver (purchaseLambda) through graphql api and it has been showing me the unauthorization issue for the past week. Everything was working fine till last week. No changes have been made from my side that could affect this.
Expected behavior
For the lambda to be abel to call another graphql resolver.
Reproduction steps
schema.graphql
Within emailScrapper lambda give it access to graphql from this https://docs.amplify.aws/react/build-a-backend/graphqlapi/connect-from-server-runtime/#commonjs
api file for calling graphql resolver lambda
Project Identifier
9416a52d4390bc60fee0f1de8176ba91
Log output
Additional information
No response
Before submitting, please confirm: