---
# System prepended metadata

title: Untitled

---



## Error 1

```
Error: access_denied. Info: {"instanceParams":{"instanceId":"wTbQKcXHI0fy0DLZM4AJMi0iCmR63n","verifier":"gooddollar-facebook","redirectToOpener":false},"hashParams":{"_":"_"},"queryParams":{"error":"access_denied","error_code":"200","error_description":"Permissions error","error_reason":"user_denied","state":"eyJpbnN0YW5jZUlkIjoid1RiUUtjWEhJMGZ5MERMWk00QUpNaTBpQ21SNjNuIiwidmVyaWZpZXIiOiJnb29kZG9sbGFyLWZhY2Vib29rIiwicmVkaXJlY3RUb09wZW5lciI6ZmFsc2V9"}} torus login failed (AuthTorus)
```
#### Reasoning

The above type of errors for facebook occurs when user clicks 'cancel' on facebook prompt screen

<img src="https://i.imgur.com/AuU7Tjd_d.webp?maxwidth=760&fidelity=grand" alt="Facebook cancellation"></img>

The documentation for this is available [here](https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/#login)

## Error 2

```
Error: access_denied. Info: {"instanceParams":{"instanceId":"NNSAlNhnzZyCK1rctshC4uqkvDSnaN","verifier":"google","redirectToOpener":false},"hashParams":{"error":"access_denied","state":"eyJpbnN0YW5jZUlkIjoiTk5TQWxOaG56WnlDSzFyY3RzaEM0dXFrdkRTbmFOIiwidmVyaWZpZXIiOiJnb29nbGUiLCJyZWRpcmVjdFRvT3BlbmVyIjpmYWxzZX0%253D"},"queryParams":{}} torus login failed (AuthTorus)
```

and

```
access_denied torus login failed (AuthTorus)
```


#### Reasoning

The above type of errors for google login occurs when user clicks 'cancel' on google prompt screen

More info can be found [here](https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow#handlingresponse)


## Error 3
```
Cannot read property 'keyResult' of undefined torus login failed (AuthTorus)
```

```
undefined is not an object (evaluating 'u.keyResult') torus login failed (AuthTorus)
```

```
u is undefined torus login failed (AuthTorus)
```

#### Reasoning

Has been fixed in 3.5.3 of torus-direct-web-sdk


## Error 4

```
node results do not match at first lookup torus login failed (AuthTorus)
```

```
node results do not match torus login failed (AuthTorus)
```

#### Reasoning

Insufficient info for me to track the original error.
Released a new version of torus direct web sdk (3.5.4) with improved error logging


## Error 5

```
Unable to resolve enough promises, errors: [null,null,null,null,null,null,null,null,null], responses: [{"jsonrpc":"2.0","error":{"code":-32602,"message":"Internal error","data":"Error occurred while verifying paramstimesigned is more than 1m0s ago 2021-01-03 14:27:56 +0000 UTC"},"id":10},null,null,{"jsonrpc":"2.0","error":{"code":-32602,"message":"Internal error","data":"Error occurred while verifying paramstimesigned is more than 1m0s ago 2021-01-03 14:27:56 +0000 UTC"},"id":10},null,null,null,{"jsonrpc":"2.0","error":{"code":-32602,"message":"Internal error","data":"Error occurred while verifying paramstimesigned is more than 1m0s ago 2021-01-03 14:27:56 +0000 UTC"},"id":10},{"jsonrpc":"2.0","error":{"code":-32602,"message":"Internal error","data":"Error occurred while verifying paramstimesigned is more than 1m0s ago 2021-01-03 14:27:56 +0000 UTC"},"id":10}], predicate: invalid torus login failed (AuthTorus)
```

#### Reasoning

This occurs if the time difference between sign in and requesting node response is too large.
Usually shouldn't happen in a browser (unless the user has extremely slow internet connection)

### Error 6

```
Failed to fetch torus login failed (AuthTorus)
```

```
timeout of 30000ms exceeded Failed to initialize wallet and storage (AuthTorus)
```

```
Failed to fetch failed initializing torus (AuthTorus)
```

```
The request timed out. torus login failed (AuthTorus)
```

```
NetworkError when attempting to fetch resource. torus login failed (AuthTorus)
```

```
Timed out in 30000ms torus login failed (AuthTorus)
```

```
No se encontrÃ³ ningÃºn servidor con el nombre de host especificado. torus login failed (AuthTorus)
```

```
Se ha agotado el tiempo de espera. torus login failed (AuthTorus)
```

```
Request aborted Failed to initialize wallet and storage (AuthTorus)
```

```
Unable to resolve enough promises, errors: [null,null,null,null,null,null,null,null,null], responses: [null,null,null,null,null,null,null,null,null], predicate: invalid torus login failed (AuthTorus)
```

#### Reasoning

All the above ones are related to network connectivity issues on the user end

