-
Notifications
You must be signed in to change notification settings - Fork 365
Lambda:IllegalArgument #346
Comments
@merunga looks like some settings are not correct.
|
Hi @sid88in thanks for the quick reply.
Is there some other place where I should check? What do you mean with the input configs for the client? Just to be clear, I have not changed anything in the serverless.yml file except for I'll keep looking. Thanks! |
@merunga I would first make sure AppSync API's are created with correct input ARN's for AWS Lambda. You can try that by either 1) making an API call directly from GraphiQL in AppSync Console or 2) invoking lambda with a test event on lambda console. Now, if you get an error then there is something not right with your backend setup. If the above step completes successfully, then you should check config/security.env because when you kickstart the client it takes some config params as an input (you can check package json for yarn start command). Please make sure your GraphQL endpoint is configured there. |
@sid88in graphiql in appsync console is returning the same error. I'll check it out. Thanks for your support! Hope to come back with an explanation! |
@merunga sounds good. The problem seems to be with the backend API creation. Please check the AWS lambda resource ARN. |
Hello! I think it might be on this line https://github.com/serverless/serverless-graphql/blob/master/app-backend/appsync/lambda/serverless.yml#L61
Should become...
|
I don't know if this is an issue with the examples themselves or with serverless-appsync-plugin.
But, after deploying appsync api with lamba datasource and trying to connect with appsync-web-client
Every request to the appsync api ends up with the following error:
Also tried setting up a serverless version of events schema template that comes by default with appsync, same result
The text was updated successfully, but these errors were encountered: