# Our server encountered an error (cannot login)

**URL:** <https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355>\
**Category:** Help me!\
**Created:** [November 24, 2020, 8:33am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355 "2020-11-24T08:33:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![PierreGoch](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/pierregoch/32/1834_2.png) [@PierreGoch](https://community.forestadmin.com/u/PierreGoch)\
**Post date:** [November 24, 2020, 8:33am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/1 "2020-11-24T08:33:59Z")

</div>

This is a template you can use to report issues. You can also drag images, videos and include `Preformatted text`

## Expected behavior

Cannot log in to my dashboard despite several refresh !

## Actual behavior

What is the current behavior?

## Failure Logs

Please include any relevant log snippets, if necessary.

## Context

Please provide any relevant information about your setup.

- Package Version:
- Express Version:
- Sequelize Version:
- Database Dialect:
- Database Version:
- Project Name:

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [November 24, 2020, 8:55am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/2 "2020-11-24T08:55:33Z")

</div>

Hello @PierreGoch

Would you mind telling me a bit more about your issue?

Do you mean you cannot log into ForestAdmin? Or are you stuck at the second authentication when accessing your data?

Can you tell me what error message is displayed, or event better what is reported in the network tab of your developper tools?

Thank you

---

<div class="post-metadata">

**Author:** ![PierreGoch](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/pierregoch/32/1834_2.png) [@PierreGoch](https://community.forestadmin.com/u/PierreGoch)\
**Post date:** [November 24, 2020, 9:06am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/3 "2020-11-24T09:06:47Z")

</div>

Hi Guillaume,

I have a shortcut in my browser that leads to my dashboard. Usually I have to log in but now I have this page as soon as I click on the usual shortcut. So it’s before the log in process.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/d67dfaf7d7ab6a80a2d5db054c89b2e008293075.png)

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [November 24, 2020, 9:31am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/4 "2020-11-24T09:31:25Z")

</div>

Can you please try to access your project via the project list? [https://app.forestadmin.com/projects](https://app.forestadmin.com/projects)

The URL shown on your screenshot is a technical one. Via the project list you should have access to your dashboard via an URL similar to `My Project/Production/Operations/dashboard/xxxxx`.

---

<div class="post-metadata">

**Author:** ![PierreGoch](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/pierregoch/32/1834_2.png) [@PierreGoch](https://community.forestadmin.com/u/PierreGoch)\
**Post date:** [November 24, 2020, 9:43am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/5 "2020-11-24T09:43:47Z")

</div>

Hi, problem solved, I tried with a different URL and it works ! Thx for your time

---

<div class="post-metadata">

**Author:** ![csaby.miklos](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/csaby.miklos/32/1144_2.png) [@csaby.miklos](https://community.forestadmin.com/u/csaby.miklos)\
**Post date:** [January 4, 2021, 8:36am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/7 "2021-01-04T08:36:37Z")

</div>

![Screenshot 2021-01-04 at 10.35.38](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/0/05d785201580e005b9c5c890ea34ee4971a4ab87.png)  
I’m stuck on this page, never loads. Tried several bifferent browsers/OS. Any help?

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [January 4, 2021, 9:12am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/8 "2021-01-04T09:12:40Z")

</div>

Hi @csaby.miklos,

Could you check if you have any error in your browser console? Any HTTP request that is pending?

Thanks in advance 🙏

---

<div class="post-metadata">

**Author:** ![csaby.miklos](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/csaby.miklos/32/1144_2.png) [@csaby.miklos](https://community.forestadmin.com/u/csaby.miklos)\
**Post date:** [January 4, 2021, 3:25pm UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/9 "2021-01-04T15:25:39Z")

</div>

Navigated to [https://app.forestadmin.com/owl%20CONTACTS/New%20Production/Admin/dashboard](https://app.forestadmin.com/owl%20CONTACTS/New%20Production/Admin/dashboard)  
DevTools failed to load SourceMap: Could not parse content for [https://app.forestadmin.com/assets/vendor-9ae8cb46e1e11e3f2f7bb96f4e156d29.map:](https://app.forestadmin.com/assets/vendor-9ae8cb46e1e11e3f2f7bb96f4e156d29.map:) Unexpected token \< in JSON at position 0  
DevTools failed to load SourceMap: Could not parse content for [https://app.forestadmin.com/assets/client-d6d32e4a0423eaf41abc50d53d6b2619.map:](https://app.forestadmin.com/assets/client-d6d32e4a0423eaf41abc50d53d6b2619.map:) Unexpected token \< in JSON at position 0  
8[Violation] ‘setTimeout’ handler took ms  
vendor-78615c841d7eebb1fde5d6a34982b513.js:25637 [Violation] ‘readystatechange’ handler took 262ms  
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin 🌲 Start third-party services tracking.  
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin 🌲 Start Drift tracking.  
widget-5b26db8f51e3508b106d.js:1 [Violation] ‘message’ handler took 330ms  
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin 🌲 Start third-party services tracking.  
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin 🌲 Start Drift tracking.  
vendor-78615c841d7eebb1fde5d6a34982b513.js:27948 [Violation] ‘load’ handler took 188ms  
dashboard:1 [DOM] Password forms should have (optionally hidden) username fields for accessibility: (More info: [https://goo.gl/9p2vKq](https://goo.gl/9p2vKq)) \<form class=​"c-liana-login-legacy\_\_login-form"\>​…​​\<h2 class=​"c-liana-login-legacy\_\_title"\>​Unlock your data​​\<span class=​"c-liana-login-legacy\_\_description"\>​…​​\<label id=​"ember19" class=​"c-liana-login-legacy\_\_password-label c-beta-label c-beta-label–important c-beta-label–top ember-view"\>​…​​\<button disabled id=​"ember21" class=​"c-liana-login-legacy\_\_button c-beta-button c-beta-button–primary c-beta-button–large c-beta-button–important c-beta-button–icon-before ember-view"\>​…​​​

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [January 4, 2021, 3:38pm UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/10 "2021-01-04T15:38:50Z")

</div>

Does this issue happened recently?

Could you share your `package.json` & your `.forestadmin-schema.json` if that’s possible on your end ?

---

<div class="post-metadata">

**Author:** ![csaby.miklos](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/csaby.miklos/32/1144_2.png) [@csaby.miklos](https://community.forestadmin.com/u/csaby.miklos)\
**Post date:** [January 4, 2021, 3:44pm UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/11 "2021-01-04T15:44:32Z")

</div>

we have package .json only:

{  
“name”: “dandelion”,  
…  
…  
“main”: “server.js”,  
“dependencies”: {  
…  
“forest-express-mongoose”: “^0.3.0”,  
},

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [January 4, 2021, 4:00pm UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-cannot-login/1355/12 "2021-01-04T16:00:38Z")

</div>

And does this issue happened recently?

I can’t see anything that can cause this in the log you sent.

I can’t definitely be sure since I do not have a project running 0.3.0, but `forest-express-mongoose@0.3.0` seems to be a pretty old version (~4 year old according to [npm](https://www.npmjs.com/package/forest-express-mongoose/v/0.3.3), the [6.6.3](https://www.npmjs.com/package/forest-express-mongoose) was recently released).

I would definitely suggest to upgrade to v6 to get access to the latest features. You can follow upgrade note from our documentation if you feel to do so, but in your case, I would suggest to regenerate a complete project using lumber. (See [this part](https://docs.forestadmin.com/documentation/getting-started/installation) of the documentation).
