react-admin-amplify icon indicating copy to clipboard operation
react-admin-amplify copied to clipboard

React Admin Amplify not being able to authenticate nor load content.

Open carlosbvz opened this issue 2 years ago • 0 comments

Hi,

I am trying to get this tool working with my Amplify instance, but I am having the following error:

"next-dev.js?3515:25 [ERROR] 54:58.499 AuthError - Error: Amplify has not been configured correctly. The configuration object is missing required auth properties. This error is typically caused by one of the following scenarios:

        1. Did you run `amplify push` after adding auth via `amplify add auth`?
            See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information

        2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages."
        
   

does it has to do with the line in your documentation: "You will need the configuration file aws-exports.js of your Amplify backend, so that react-admin can connect to your API." ?

I am using nextjs

carlosbvz avatar May 24 '22 01:05 carlosbvz