Sorry, we don't support your browser.  Install a modern browser

Temporary disabled G-Suite account is now causing 500 error#331

When a G-Suite account has been temporarly disabled then re-enabled, the user cannot access YNAW anymore and reiceiving a 500 error page display (see attached image):

It seems like you had the following error:
Request failed with status code 500

FYI, these users have proper permission on Google Drive folders and documents and can access (read/write) directly on Google Drive.

After some investigation on our part, we found the XHR request causing a 500 error during the YNAW handshake at page loading:

POST https://youneedawiki.com/api/user/<google_user_id>
{
    "user": {
        "accessToken": "ya29.a0AfH6SMAQyC...",
        "email": "<user>@<domain>",
        "firstName": "First Name",
        "id": "<google_user_id>",
        "idToken": "eyJhbGciOiJSUzI1NiIs...",
        "imageURL": "https://lh6.googleusercontent.com/-oD5jdxQEHJ4...",
        "lastName": "Last Name",
        "name": "Full Name"
    }
}

HTTP/1.1 500 Internal Server Error
Cannot read property 'id' of undefined

The same request using a working YNAW account returns a 200 status with up-to-date JSON payload.

Do you have any solution for this issue?

22 days ago

@Grant Kiely do you have any insight about this issue?

Please feel free to ask some more details if the reproduction steps above are not enough.

Thanks!

8 days ago