# Multiple error after login, React app

**URL:** <https://community.auth0.com/t/multiple-error-after-login-react-app/20330>\
**Category:** Get Help\
**Tags:** jwt, react, login, auth0\
**Created:** [January 22, 2019, 9:49am UTC](https://community.auth0.com/t/multiple-error-after-login-react-app/20330 "2019-01-22T09:49:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davenathanaeldev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/davenathanaeldev/32/10289_2.png) [@davenathanaeldev](https://community.auth0.com/u/davenathanaeldev)\
**Post date:** [January 22, 2019, 9:49am UTC](https://community.auth0.com/t/multiple-error-after-login-react-app/20330/1 "2019-01-22T09:49:38Z")

</div>

Hello, I have just trying to implement auth0 on my React app, and followed the [quickstart tutorial](https://auth0.com/docs/quickstart/spa/react) , and the login seems working, until I encountered 2 issues:

- Error on page refresh / React server reload (dev hot reload)  
`Object { error: "invalid_token", errorDescription: "`state` does not match." }`  
this error message showed up when i refresh the page, or when I reload the React app server (`yarn start`)

- Error after 1 minute of logging in  
`Object { error: "timeout", error_description: "Timeout during executing web_message communication" }`  
this error message showed up after letting my page opened(idle) after login for about 1 minute

Additional info might be I am using `create-react-app` to make the project, and used `react-router` for routing. The code will be available [here](https://github.com/WebStoreGroup/web-store-frontend/blob/feature/auth/src/auth/index.js)

Anyone have something on this? Thanks!

​

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 22, 2019, 3:58pm UTC](https://community.auth0.com/t/multiple-error-after-login-react-app/20330/2 "2019-01-22T15:58:19Z")

</div>

Hey there @davenathanaeldev!

Have you tried going through the issues in the GitHub repo and checking whether someone haven’t come across such issue too?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 29, 2019, 9:12am UTC](https://community.auth0.com/t/multiple-error-after-login-react-app/20330/3 "2019-08-29T09:12:31Z")

</div>


