Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during app initialization #10

Open
aouicher opened this issue Jul 26, 2023 · 0 comments
Open

Error during app initialization #10

aouicher opened this issue Jul 26, 2023 · 0 comments

Comments

@aouicher
Copy link

aouicher commented Jul 26, 2023

Error :

undefined on query.js getLogger().error(error); --> undefined

utils.js:324 Uncaught TypeError: Cannot read properties of undefined (reading 'status')
    at Object.checkError (authProvider.js:120:29)
    at useLogoutIfAccessDenied.ts:49:18
    at onError (usePermissions.ts:57:17)
    at notifyManager.js:62:18
    at NotifyManager2.notifyFn (notifyManager.js:10:7)
    at notifyManager.js:77:20
    at Array.forEach (<anonymous>)
    at notifyManager.js:76:17
    at NotifyManager2.batchedUpdates$1 [as batchNotifyFn] (react-dom.development.js:26140:12)
    at notifyManager.js:75:16

From some days, (i don't remember a package updated), there are some error when app start. So, auth doesn't work any more.

Some infos:

I try with the demo project and it's the same. My cognito user pool seems correct.

package.json:

  "dependencies": {
    "amazon-cognito-identity-js": "^6.3.1",
    "ra-auth-cognito": "^1.0.2",
    "react": "^18.2.0",
    "react-admin": "^4.12.0",
    "react-dom": "^18.2.0"
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant