mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 02:52:38 +00:00
Merge pull request #3960 from G-Ambatte/addGoogleRefreshInfoToErrorPage-#3955
Add google refresh info to error page #3955
This commit is contained in:
@@ -18,7 +18,18 @@ const errorIndex = (props)=>{
|
|||||||
'01' : dedent`
|
'01' : dedent`
|
||||||
## An error occurred while retrieving this brew from Google Drive!
|
## An error occurred while retrieving this brew from Google Drive!
|
||||||
|
|
||||||
Google reported an error while attempting to retrieve a brew from this link.`,
|
Google is able to see the brew at this link, but reported an error while attempting to retrieve it.
|
||||||
|
|
||||||
|
### Refreshing your Google Credentials
|
||||||
|
|
||||||
|
This issue is likely caused by an issue with your Google credentials; if you are the owner of this file, 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!`,
|
||||||
|
|
||||||
// Google Drive - 404 : brew deleted or access denied
|
// Google Drive - 404 : brew deleted or access denied
|
||||||
'02' : dedent`
|
'02' : dedent`
|
||||||
@@ -50,7 +61,7 @@ const errorIndex = (props)=>{
|
|||||||
- **The Google Account may be closed.** Google may have removed the account
|
- **The Google Account may be closed.** Google may have removed the account
|
||||||
due to inactivity or violating a Google policy. Make sure the owner can
|
due to inactivity or violating a Google policy. Make sure the owner can
|
||||||
still access Google Drive normally and upload/download files to it.
|
still access Google Drive normally and upload/download files to it.
|
||||||
:
|
|
||||||
If the file isn't found, Google Drive usually puts your file in your Trash folder for
|
If the file isn't found, Google Drive usually puts your file in your Trash folder for
|
||||||
30 days. Assuming the trash hasn't been emptied yet, it might be worth checking.
|
30 days. Assuming the trash hasn't been emptied yet, it might be worth checking.
|
||||||
You can also find the Activity tab on the right side of the Google Drive page, which
|
You can also find the Activity tab on the right side of the Google Drive page, which
|
||||||
@@ -172,8 +183,8 @@ const errorIndex = (props)=>{
|
|||||||
|
|
||||||
**Brew Title:** ${props.brew.brewTitle}`,
|
**Brew Title:** ${props.brew.brewTitle}`,
|
||||||
|
|
||||||
// ####### Admin page error #######
|
// ####### Admin page error #######
|
||||||
'52': dedent`
|
'52' : dedent`
|
||||||
## Access Denied
|
## Access Denied
|
||||||
You need to provide correct administrator credentials to access this page.`,
|
You need to provide correct administrator credentials to access this page.`,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user