diff --git a/client/homebrew/pages/errorPage/errors/errorIndex.js b/client/homebrew/pages/errorPage/errors/errorIndex.js index 298ec8c7e..ea1843c56 100644 --- a/client/homebrew/pages/errorPage/errors/errorIndex.js +++ b/client/homebrew/pages/errorPage/errors/errorIndex.js @@ -6,6 +6,24 @@ const loginUrl = 'https://www.naturalcrit.com/login'; //050-100 : Other pages errors const errorIndex = (props)=>{ + const googleRefreshInstructions = dedent` + : + + ### Refreshing your Google Credentials + + This issue may be caused by an issue with your Google credentials; if so, the following steps may resolve the issue: + + - Go to https://www.naturalcrit.com/login and click logout if present (in small text at the bottom of the page). + + - Click "Sign In with Google", which will refresh your Google credentials. + + - After completing the sign in process, return to Homebrewery and refresh/reload the page so that it can pick up the updated credentials. + + - If this was the source of the issue, it should now be resolved. + + If following these steps does not resolve the issue, please let us know! + `; + return { // Default catch all '00' : dedent` @@ -18,7 +36,9 @@ const errorIndex = (props)=>{ '01' : dedent` ## An error occurred while retrieving this brew from Google Drive! - Google reported an error while attempting to retrieve a brew from this link.`, + Google reported an error while attempting to retrieve a brew from this link.` + + + googleRefreshInstructions, // Google Drive - 404 : brew deleted or access denied '02' : dedent` @@ -65,7 +85,9 @@ const errorIndex = (props)=>{ : Also note, if you prefer not to use your Google Drive for storage, you can always change the storage location of a brew by clicking the Google drive icon by the - brew title and choosing *transfer my brew to/from Google Drive*.`, + brew title and choosing *transfer my brew to/from Google Drive*.` + + + googleRefreshInstructions, // User is not Authors list '03' : dedent`