Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Configuration for app-backend/appsync/dynamo? #362

Open
dougtoppin opened this issue Sep 20, 2018 · 1 comment
Open

Configuration for app-backend/appsync/dynamo? #362

dougtoppin opened this issue Sep 20, 2018 · 1 comment

Comments

@dougtoppin
Copy link

I need an example of using serverless with Appsync and DynamoDB and have been trying out the production (online) app-backend/appsync/dynamo, app-client/appsync-client and AWS S3 configuration.

Everything appears to deploy without error but when I try the client login it works but I get this Network error: Unexpected token < in JSON at position 0

I am having trouble with (I think) at least config/security.env.prod. I might also just be confusing which configuration steps to follow.

Does the prod config need DATABASE_URL and DATABASE_TYPE set when using the appsync/dynamo combination? I was not sure what should be in both if anything.

I also notice that the instructions say to cd app-backend/appsync/dynamodb but it is actually cd app-backend/appsync/dynamo which makes me wonder if there might be a mismatch in instructions.

@sid88in
Copy link
Contributor

sid88in commented Oct 2, 2018

@dougtoppin if you are able to use POSTMAN and work with the API's then there is most probably a problem with your front end configurations. You might want to isolate the issue to make sure if your backend is working fine without front end integrations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants